e2k/int: add ctpr write tests
This commit is contained in:
parent
cc4266693e
commit
d06a82f9d5
7
tests/asm/int/ctpr-write-1.S
Normal file
7
tests/asm/int/ctpr-write-1.S
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#include "test_start.S"
|
||||||
|
|
||||||
|
movtd,0 0, %ctpr1
|
||||||
|
movtcd,0 0, %ctpr1
|
||||||
|
0:
|
||||||
|
|
||||||
|
#include "test_end.S"
|
6
tests/asm/int/ctpr-write-2.S
Normal file
6
tests/asm/int/ctpr-write-2.S
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#include "test_start.S"
|
||||||
|
|
||||||
|
addd,0 0, 0f, %ctpr1
|
||||||
|
0:
|
||||||
|
|
||||||
|
#include "test_end.S"
|
@ -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': {},
|
||||||
|
Loading…
Reference in New Issue
Block a user