llvm-project
a7914aec - [RISCV] Allow unsigned immediates for pli.h, pli.dh, pli.w (#184554)

Commit
5 days ago
[RISCV] Allow unsigned immediates for pli.h, pli.dh, pli.w (#184554) Allow unsigned immediates that look like like simm10 when only considering the lower 16 or 32 bits. For pli.dh and pli.dh this [652024,65535]. For pli.w, this is [4294966784,4294967295]. Since we're only inserting 16 or 32 bits, it makes sense to me that only those 16 or 32 bits matter. This is similar to how we allow `li a0, 0xffffffff` on RV32.
Author
Parents
Loading