aboutsummaryrefslogtreecommitdiff
path: root/isa
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2016-09-02 15:42:02 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2016-09-02 15:55:36 -0700
commit2c1ebadc2cf7c07824b76694f7cc7ed2b8d9891a (patch)
tree2e911784cbdb8bedf76bb2bc10ddf1fbae7b036b /isa
parent8f70e91e5413306cd6da3ea4730921f65dac9c7c (diff)
downloadriscv-tests-2c1ebadc2cf7c07824b76694f7cc7ed2b8d9891a.zip
riscv-tests-2c1ebadc2cf7c07824b76694f7cc7ed2b8d9891a.tar.gz
riscv-tests-2c1ebadc2cf7c07824b76694f7cc7ed2b8d9891a.tar.bz2
Make RVC test fit in 16 KiB
Diffstat (limited to 'isa')
-rw-r--r--isa/rv64uc/rvc.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/isa/rv64uc/rvc.S b/isa/rv64uc/rvc.S
index 6e3cf33..4a91783 100644
--- a/isa/rv64uc/rvc.S
+++ b/isa/rv64uc/rvc.S
@@ -25,6 +25,10 @@ RVTEST_CODE_BEGIN
li a2, 1
RVC_TEST_CASE (2, a1, 2, \
j 1f; \
+ .align 3; \
+ data: \
+ .dword 0xfedcba9876543210; \
+ .dword 0xfedcba9876543210; \
.align 12; \
.skip 4094; \
1: addi a1, a2, 1)
@@ -147,8 +151,4 @@ RVTEST_CODE_END
.data
RVTEST_DATA_BEGIN
-data:
- .dword 0xfedcba9876543210
- .dword 0xfedcba9876543210
-
RVTEST_DATA_END