e2k/int: add ctpr write tests

This commit is contained in:
Denis Drakhnia 2024-01-05 07:45:15 +02:00
parent cc4266693e
commit d06a82f9d5
3 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#include "test_start.S"
movtd,0 0, %ctpr1
movtcd,0 0, %ctpr1
0:
#include "test_end.S"

View File

@ -0,0 +1,6 @@
#include "test_start.S"
addd,0 0, 0f, %ctpr1
0:
#include "test_end.S"

View File

@ -129,6 +129,8 @@ asm_tests = {
'cmpd-1': {}, 'cmpd-1': {},
'rwd-rrd-1': {}, 'rwd-rrd-1': {},
'rwd-alc-rrd-1': {}, 'rwd-alc-rrd-1': {},
'ctpr-write-1': {},
'ctpr-write-2': { 'should_fail': true },
}, },
'sm': { 'sm': {
'dbl-1': {}, 'dbl-1': {},