From d485af85f27a9fde6960d69bb0768993b38a69af Mon Sep 17 00:00:00 2001 From: Denis Drakhnia Date: Tue, 26 Dec 2023 15:27:31 +0200 Subject: [PATCH] ct: add call with wbs greater than wsz --- tests/asm/ct/call-2.S | 13 +++++++++++++ tests/asm/meson.build | 1 + 2 files changed, 14 insertions(+) create mode 100644 tests/asm/ct/call-2.S 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 },