From: Luke Kenneth Casson Leighton Date: Fri, 2 Nov 2018 12:14:35 +0000 (+0000) Subject: add alignment (just in case) to fadd sv elwidth test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4dcf5805cf42f63481cdca9a8f30307bb2783541;p=riscv-tests.git add alignment (just in case) to fadd sv elwidth test --- diff --git a/isa/rv64uf/sv_fadd_elwidth.S b/isa/rv64uf/sv_fadd_elwidth.S index 1189a6e..eeef77d 100644 --- a/isa/rv64uf/sv_fadd_elwidth.S +++ b/isa/rv64uf/sv_fadd_elwidth.S @@ -50,16 +50,21 @@ testdata: .float 42.0 .float 1.0 .float 2.0 + + .align 3 answer: .word 0x51805140 # 44 fp16 42 fp16, tested as-is, even if it goes to fp .word 0x0 # before going to int for comparison (TEST_SV_FW) + .align 3 testdata2: .word 0x51405120 # 42 fp16 41 fp16 .word 0xffff5140 # 42 fp16 .float 1.0 .float 2.0 + + .align 3 answer2: .word 0x51805140 .word 0x0