-
Notifications
You must be signed in to change notification settings - Fork 15.3k
[RISCV] Add short forward branch support for min, max, maxu and minu
#164394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
c1cb8b0
0e38fc5
a28faad
2374d93
0b4b5cb
4acf425
fa4c9f1
ce40422
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1698,6 +1698,18 @@ unsigned getPredicatedOpcode(unsigned Opcode) { | |
| case RISCV::AND: return RISCV::PseudoCCAND; break; | ||
| case RISCV::OR: return RISCV::PseudoCCOR; break; | ||
| case RISCV::XOR: return RISCV::PseudoCCXOR; break; | ||
| case RISCV::MAX: | ||
|
||
| return RISCV::PseudoCCMAX; | ||
| break; | ||
| case RISCV::MAXU: | ||
| return RISCV::PseudoCCMAXU; | ||
| break; | ||
| case RISCV::MIN: | ||
| return RISCV::PseudoCCMIN; | ||
| break; | ||
| case RISCV::MINU: | ||
| return RISCV::PseudoCCMINU; | ||
| break; | ||
|
|
||
| case RISCV::ADDI: return RISCV::PseudoCCADDI; break; | ||
| case RISCV::SLLI: return RISCV::PseudoCCSLLI; break; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.