asm/sm: add qual-11

This commit is contained in:
Denis Drakhnia 2024-01-05 09:02:16 +02:00
parent f83083c1c6
commit 30aaf08b89
2 changed files with 19 additions and 0 deletions

View File

@ -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
View 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