syscall: add test with effective wsz=0

This commit is contained in:
Denis Drakhnia 2023-12-26 10:51:33 +02:00
parent 7d33692be6
commit e948e34fbc
2 changed files with 10 additions and 0 deletions

View File

@ -182,6 +182,7 @@ asm_tests = {
'read-ps-ex-1': {}, 'read-ps-ex-1': {},
'read-ps-ex-unaligned-1': { 'should_fail': true }, 'read-ps-ex-unaligned-1': { 'should_fail': true },
'write-ps-ex-1': {}, 'write-ps-ex-1': {},
'zero-wsz-1': {},
}, },
} }

View File

@ -0,0 +1,9 @@
#include "test_start.S"
{
setwd wsz=8, nfx=1
sdisp %ctpr1, 0x3
}
call %ctpr1, wbs=8
#include "test_end.S"