aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-riscv-elf/c-lui.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-riscv-elf/c-lui.s')
-rw-r--r--ld/testsuite/ld-riscv-elf/c-lui.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-riscv-elf/c-lui.s b/ld/testsuite/ld-riscv-elf/c-lui.s
new file mode 100644
index 0000000..4a23fdb
--- /dev/null
+++ b/ld/testsuite/ld-riscv-elf/c-lui.s
@@ -0,0 +1,5 @@
+.text
+ lui x1, 1
+ lui x1, 0
+ lui x0, 1
+ lui x2, 1