projects
/
riscv-tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fb136d
)
add alignment (just in case) to fadd sv elwidth test
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 2 Nov 2018 12:14:35 +0000
(12:14 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 2 Nov 2018 12:14:35 +0000
(12:14 +0000)
isa/rv64uf/sv_fadd_elwidth.S
patch
|
blob
|
history
diff --git
a/isa/rv64uf/sv_fadd_elwidth.S
b/isa/rv64uf/sv_fadd_elwidth.S
index 1189a6ec9a9109f791c168e71e49c25a99cc65d2..eeef77d1a3b766cca28ed89010e8b0533b9080c6 100644
(file)
--- 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