diff --git a/tests/asm/meson.build b/tests/asm/meson.build index 12ae9d7..56e0733 100644 --- a/tests/asm/meson.build +++ b/tests/asm/meson.build @@ -154,6 +154,10 @@ asm_tests = { 'qual-3': { 'should_fail': true }, 'qual-4': {}, '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-ct-1': { 'should_fail': true }, 'qual-ct-2': {}, diff --git a/tests/asm/sm/qual-6.S b/tests/asm/sm/qual-6.S new file mode 100644 index 0000000..f4c393d --- /dev/null +++ b/tests/asm/sm/qual-6.S @@ -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" diff --git a/tests/asm/sm/qual-7.S b/tests/asm/sm/qual-7.S new file mode 100644 index 0000000..ed036bf --- /dev/null +++ b/tests/asm/sm/qual-7.S @@ -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" diff --git a/tests/asm/sm/qual-8.S b/tests/asm/sm/qual-8.S new file mode 100644 index 0000000..eb94539 --- /dev/null +++ b/tests/asm/sm/qual-8.S @@ -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" diff --git a/tests/asm/sm/qual-9.S b/tests/asm/sm/qual-9.S new file mode 100644 index 0000000..ec05d97 --- /dev/null +++ b/tests/asm/sm/qual-9.S @@ -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"