ct: add call with wbs greater than wsz

This commit is contained in:
Denis Drakhnia 2023-12-26 15:27:31 +02:00
parent d25dc76ff1
commit d485af85f2
2 changed files with 14 additions and 0 deletions

13
tests/asm/ct/call-2.S Normal file
View File

@ -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

View File

@ -75,6 +75,7 @@ asm_tests = {
'ibranch-1': {}, 'ibranch-1': {},
'ct-1': {}, 'ct-1': {},
'call-1': {}, 'call-1': {},
'call-2': { 'should_fail': true },
'call-invalidate-pregs-1': {}, 'call-invalidate-pregs-1': {},
'call-invalidate-pregs-2': { 'should_fail': true }, 'call-invalidate-pregs-2': { 'should_fail': true },
'call-reset-ctpr-1': { 'should_fail': true }, 'call-reset-ctpr-1': { 'should_fail': true },