diff --git a/tests/asm/ct/call-2.S b/tests/asm/ct/call-2.S new file mode 100644 index 0000000..bee004b --- /dev/null +++ b/tests/asm/ct/call-2.S @@ -0,0 +1,13 @@ +#include "test_start.S" + + { + setwd wsz=8, nfx=1 + disp %ctpr1, 0f + } + call %ctpr1, wbs=16 + +#include "test_end.S" + +0: + return %ctpr3 + ct %ctpr3 diff --git a/tests/asm/meson.build b/tests/asm/meson.build index aaf67f4..90c4a1d 100644 --- a/tests/asm/meson.build +++ b/tests/asm/meson.build @@ -75,6 +75,7 @@ asm_tests = { 'ibranch-1': {}, 'ct-1': {}, 'call-1': {}, + 'call-2': { 'should_fail': true }, 'call-invalidate-pregs-1': {}, 'call-invalidate-pregs-2': { 'should_fail': true }, 'call-reset-ctpr-1': { 'should_fail': true },