RamaKishanMalladi

Results comments of RamaKishanMalladi

Can you confirm you are using unique encoding bits for each of these branch instructions? It would help if you can share more details/ a reproducer. Thanks

This worked fine for me: ``` $ touch test.c $ llc --march=riscv32 test.c $ less test.c.s .text .attribute 4, 16 .attribute 5, "rv32i2p1" .file "test.c" .section ".note.GNU-stack","",@progbits ```

Yes, I meant `ll`. :-)

For input values `#0.5` and `#2.0`, GCC generates the merged form of `FMUL` instruction as reported in this issue.

@ktkachov , is there a perf penalty of not doing this optimization? Any measurements you have on the same? Thanks

> It helps avoid the need for the `fmov 0.5` and might save a register, but otherwise should be similar. Yes, I see that benefit. Thank you.