From e948e34fbc90b9eba5680f4bd8b30be0e242aed8 Mon Sep 17 00:00:00 2001 From: Denis Drakhnia Date: Tue, 26 Dec 2023 10:51:33 +0200 Subject: [PATCH] syscall: add test with effective wsz=0 --- tests/asm/meson.build | 1 + tests/asm/syscall/zero-wsz-1.S | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 tests/asm/syscall/zero-wsz-1.S diff --git a/tests/asm/meson.build b/tests/asm/meson.build index 64aef11..89b88bd 100644 --- a/tests/asm/meson.build +++ b/tests/asm/meson.build @@ -182,6 +182,7 @@ asm_tests = { 'read-ps-ex-1': {}, 'read-ps-ex-unaligned-1': { 'should_fail': true }, 'write-ps-ex-1': {}, + 'zero-wsz-1': {}, }, } diff --git a/tests/asm/syscall/zero-wsz-1.S b/tests/asm/syscall/zero-wsz-1.S new file mode 100644 index 0000000..d6c9fa7 --- /dev/null +++ b/tests/asm/syscall/zero-wsz-1.S @@ -0,0 +1,9 @@ +#include "test_start.S" + + { + setwd wsz=8, nfx=1 + sdisp %ctpr1, 0x3 + } + call %ctpr1, wbs=8 + +#include "test_end.S"