asm/sm: add qual-11
This commit is contained in:
parent
f83083c1c6
commit
30aaf08b89
@ -161,6 +161,7 @@ asm_tests = {
|
||||
'qual-8': {},
|
||||
'qual-9': { 'should_fail': true },
|
||||
'qual-10': {},
|
||||
'qual-11': {},
|
||||
'qual-call-1': { 'should_fail': true },
|
||||
'qual-ct-1': { 'should_fail': true },
|
||||
'qual-ct-2': {},
|
||||
|
18
tests/asm/sm/qual-11.S
Normal file
18
tests/asm/sm/qual-11.S
Normal file
@ -0,0 +1,18 @@
|
||||
#include "test_start.S"
|
||||
|
||||
setwd wsz=8, nfx=1
|
||||
invalid64 %r0
|
||||
{
|
||||
cmpedb,0,sm 0, %r0, %pred0
|
||||
addd,1 0, 1, %r1
|
||||
}
|
||||
std,2,sm %r1, [ mem ] ? %pred0
|
||||
ldd,0 [ mem ], %r2
|
||||
assert_eq_i64(%r2, 0x4000000040000001)
|
||||
|
||||
#include "test_end.S"
|
||||
|
||||
.data
|
||||
.balign 8
|
||||
mem:
|
||||
.quad 0
|
Loading…
Reference in New Issue
Block a user