diff --git a/tests/asm/meson.build b/tests/asm/meson.build index 0ad27d5..3a71765 100644 --- a/tests/asm/meson.build +++ b/tests/asm/meson.build @@ -155,6 +155,7 @@ asm_tests = { 'qual-4': {}, 'qual-call-1': { 'should_fail': true }, 'qual-ct-1': { 'should_fail': true }, + 'qual-ct-2': {}, 'qual-ibranch-1': { 'should_fail': true }, 'std-1': {}, 'udivs-1': { 'should_fail': true }, diff --git a/tests/asm/sm/qual-ct-2.S b/tests/asm/sm/qual-ct-2.S new file mode 100644 index 0000000..9622e8f --- /dev/null +++ b/tests/asm/sm/qual-ct-2.S @@ -0,0 +1,10 @@ +#include "test_start.S" + + disp %ctpr1, 0f + rwd,0 (1 << 48) | (1UL << 37) | 1, %lsr + invalid64 %g16 + cmpedb,0,sm 0, %g16, %pred0 + ct %ctpr1 ? %pred0 && #NOT_LOOP_END +0: + +#include "test_end.S"