Skip to content

[MIPS] Expand floating-point, coprocessor, and shuffle lifting - #8537

Open
zznop wants to merge 1 commit into
devfrom
test_lift_mips_dh_instrs
Open

[MIPS] Expand floating-point, coprocessor, and shuffle lifting#8537
zznop wants to merge 1 commit into
devfrom
test_lift_mips_dh_instrs

Conversation

@zznop

@zznop zznop commented Sep 9, 2026

Copy link
Copy Markdown
Member
  • Add scalar and paired-single FP arithmetic and conditional moves
  • Lift TRUNC/ROUND/CEIL/FLOOR.W/L.S/D with fixed rounding semantics
  • Model paired-single arithmetic and per-lane conditional moves with intrinsics
  • Decode and lift ALIGN/DALIGN and BITSWAP/DBITSWAP
  • Lift JALX, coprocessor zero-test branches, and PREFX
  • Model COP2 operations, control/high-word transfers, and shadow GPR access with intrinsics
  • Preserve branch inputs across conditional and split-register delay-slot writes
  • Expand lifting regressions for endianness, register modes, aliasing, zero registers, and delay slots

After/Before:
Screenshot 2026-09-09 at 4 02 07 PM

- Add scalar and paired-single FP arithmetic and conditional moves
- Lift TRUNC/ROUND/CEIL/FLOOR.W/L.S/D with fixed rounding semantics
- Model paired-single arithmetic and per-lane conditional moves with
  intrinsics
- Decode and lift ALIGN/DALIGN and BITSWAP/DBITSWAP
- Lift JALX, coprocessor zero-test branches, and PREFX
- Model COP2 operations, control/high-word transfers, and shadow GPR
  access with intrinsics
- Preserve branch inputs across conditional and split-register
  delay-slot writes
- Expand lifting regressions for endianness, register modes, aliasing,
  zero registers, and delay slots
@zznop zznop added this to the Langara milestone Sep 9, 2026
@zznop
zznop requested a review from rssor September 9, 2026 20:08
@zznop zznop self-assigned this Sep 9, 2026
@zznop zznop added the Arch: MIPS Issues with the MIPS architecture plugin label Sep 9, 2026
@zznop

zznop commented Sep 9, 2026

Copy link
Copy Markdown
Member Author

Here's a binary I made for testing / validating these changes (in addition to the regression tests)

mips32-lifting-be.elf.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch: MIPS Issues with the MIPS architecture plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant