Add filetest for verifying emitted rodata (i.e. test rodata)

This commit is contained in:
Andrew Brown
2019-07-23 11:06:08 -07:00
committed by Dan Gohman
parent 8d812b24cc
commit c3cc225de9
3 changed files with 138 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
test rodata
set enable_simd=true
set probestack_enabled=false
target x86_64 haswell
; use baldrdash calling convention here for simplicity (avoids prologue, epilogue)
function %test_vconst_i32() -> i32x4 baldrdash_system_v {
ebb0:
v0 = vconst.i32x4 0x1234
return v0
}
; sameln: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 34]