1# Blackfin testcase for cli/sti instructions 2# mach: bfin 3# sim: --environment operating 4 5 .include "testutils.inc" 6 7 start 8 9 # Make sure we can't mask <=EVT4 10 R0 = 0; 11 sti R0; 12 cli R1; 13 R2 = 0x1f; 14 CC = R1 == R2; 15 IF !CC JUMP 1f; 16 17 # Make sure we can mask >=EVT5 18 R0 = 0xff; 19 sti R0; 20 cli R1; 21 CC = R0 == R1; 22 IF !CC JUMP 1f; 23 24 dbg_pass 251: dbg_fail 26