asm/sm: add more qual tests

This commit is contained in:
Denis Drakhnia 2024-01-05 07:29:03 +02:00
parent dd5861f3bd
commit cc4266693e
5 changed files with 39 additions and 0 deletions

View File

@ -154,6 +154,10 @@ asm_tests = {
'qual-3': { 'should_fail': true }, 'qual-3': { 'should_fail': true },
'qual-4': {}, 'qual-4': {},
'qual-5': {}, 'qual-5': {},
'qual-6': { 'should_fail': true },
'qual-7': { 'should_fail': true },
'qual-8': {},
'qual-9': { 'should_fail': true },
'qual-call-1': { 'should_fail': true }, 'qual-call-1': { 'should_fail': true },
'qual-ct-1': { 'should_fail': true }, 'qual-ct-1': { 'should_fail': true },
'qual-ct-2': {}, 'qual-ct-2': {},

10
tests/asm/sm/qual-6.S Normal file
View File

@ -0,0 +1,10 @@
#include "test_start.S"
setwd wsz=8, nfx=1
invalid64 %r0
cmpedb,0,sm 0, %r0, %pred0
addd,1 0, 0, %r0
addd,0,sm 0, 1, %r0 ? %pred0
addd,0 %r0, 1, %r0
#include "test_end.S"

9
tests/asm/sm/qual-7.S Normal file
View File

@ -0,0 +1,9 @@
#include "test_start.S"
setwd wsz=8, nfx=1
invalid64 %r0
cmpedb,0,sm 0, %r0, %pred0
movtd,0,sm 0f, %ctpr1 ? %pred0
0:
#include "test_end.S"

8
tests/asm/sm/qual-8.S Normal file
View File

@ -0,0 +1,8 @@
#include "test_start.S"
setwd wsz=8, nfx=1
invalid64 %r0
cmpedb,0,sm 0, %r0, %pred0
movtd,0,sm 0, %r1 ? %pred0
#include "test_end.S"

8
tests/asm/sm/qual-9.S Normal file
View File

@ -0,0 +1,8 @@
#include "test_start.S"
setwd wsz=8, nfx=1
invalid64 %r0
cmpedb,0,sm 0, %r0, %pred0
rwd,0,sm 0, %lsr ? %pred0
#include "test_end.S"