diff --git a/tests/asm/int/ctpr-write-1.S b/tests/asm/int/ctpr-write-1.S new file mode 100644 index 0000000..b613971 --- /dev/null +++ b/tests/asm/int/ctpr-write-1.S @@ -0,0 +1,7 @@ +#include "test_start.S" + + movtd,0 0, %ctpr1 + movtcd,0 0, %ctpr1 +0: + +#include "test_end.S" diff --git a/tests/asm/int/ctpr-write-2.S b/tests/asm/int/ctpr-write-2.S new file mode 100644 index 0000000..329633a --- /dev/null +++ b/tests/asm/int/ctpr-write-2.S @@ -0,0 +1,6 @@ +#include "test_start.S" + + addd,0 0, 0f, %ctpr1 +0: + +#include "test_end.S" diff --git a/tests/asm/meson.build b/tests/asm/meson.build index 56e0733..2e1c725 100644 --- a/tests/asm/meson.build +++ b/tests/asm/meson.build @@ -129,6 +129,8 @@ asm_tests = { 'cmpd-1': {}, 'rwd-rrd-1': {}, 'rwd-alc-rrd-1': {}, + 'ctpr-write-1': {}, + 'ctpr-write-2': { 'should_fail': true }, }, 'sm': { 'dbl-1': {},