diff options
| author | Alex Bradbury <asb@lowrisc.org> | 2018-06-20 12:54:02 +0000 |
|---|---|---|
| committer | Alex Bradbury <asb@lowrisc.org> | 2018-06-20 12:54:02 +0000 |
| commit | 18b9bd7d6c84179f6f91104111c5b743e295499f (patch) | |
| tree | 774c38c906aaf8dee7409f04c8601645dae0d472 /llvm/test/MC/RISCV | |
| parent | 644a81953417eaf0176c11927c880309dd73c486 (diff) | |
| download | bcm5719-llvm-18b9bd7d6c84179f6f91104111c5b743e295499f.tar.gz bcm5719-llvm-18b9bd7d6c84179f6f91104111c5b743e295499f.zip | |
[RISCV] Add InstAlias definitions for sgt and sgtu
These are produced by GCC and supported by GAS, but not currently contained in
the pseudoinstruction listing in the RISC-V ISA manual.
llvm-svn: 335120
Diffstat (limited to 'llvm/test/MC/RISCV')
| -rw-r--r-- | llvm/test/MC/RISCV/rvi-aliases-valid.s | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/MC/RISCV/rvi-aliases-valid.s b/llvm/test/MC/RISCV/rvi-aliases-valid.s index 2344eb17e3a..eafa486a8fa 100644 --- a/llvm/test/MC/RISCV/rvi-aliases-valid.s +++ b/llvm/test/MC/RISCV/rvi-aliases-valid.s @@ -54,6 +54,13 @@ sltz x31, x1 # CHECK-ALIAS: sgtz t6, ra sgtz x31, x1 +# CHECK-INST: slt ra, gp, sp +# CHECK-ALIAS: slt ra, gp, sp +sgt x1, x2, x3 +# CHECK-INST: sltu tp, t1, t0 +# CHECK-ALIAS: sltu tp, t1, t0 +sgtu x4, x5, x6 + # CHECK-INST: beq a0, zero, 512 # CHECK-ALIAS: beqz a0, 512 beqz x10, 512 |

