1132718Skan//Original:/proj/frio/dv/testcases/core/c_ldimmhalf_h_ibml/c_ldimmhalf_h_ibml.dsp 290075Sobrien// Spec Reference: ldimmhalf h ibml 390075Sobrien# mach: bfin 490075Sobrien 590075Sobrien.include "testutils.inc" 690075Sobrien start 790075Sobrien 890075Sobrien INIT_I_REGS -1; 990075Sobrien INIT_L_REGS -1; 1090075Sobrien INIT_B_REGS -1; 1190075Sobrien INIT_M_REGS -1; 1290075Sobrien 1390075Sobrien I0.H = 0x2000; 1490075Sobrien I1.H = 0x2002; 1590075Sobrien I2.H = 0x2004; 1690075Sobrien I3.H = 0x2006; 1790075Sobrien L0.H = 0x2008; 1890075Sobrien L1.H = 0x200a; 1990075Sobrien L2.H = 0x200c; 2090075Sobrien L3.H = 0x200e; 2190075Sobrien 2290075Sobrien R0 = I0; 2390075Sobrien R1 = I1; 2490075Sobrien R2 = I2; 2590075Sobrien R3 = I3; 2690075Sobrien R4 = L0; 2790075Sobrien R5 = L1; 2890075Sobrien R6 = L2; 2990075Sobrien R7 = L3; 3090075Sobrien CHECKREG r0, 0x2000ffff; 3190075Sobrien CHECKREG r1, 0x2002ffff; 3290075Sobrien CHECKREG r2, 0x2004ffff; 3390075Sobrien CHECKREG r3, 0x2006ffff; 3490075Sobrien CHECKREG r4, 0x2008ffff; 3590075Sobrien CHECKREG r5, 0x200affff; 3690075Sobrien CHECKREG r6, 0x200cffff; 3790075Sobrien CHECKREG r7, 0x200effff; 3890075Sobrien 3990075Sobrien I0.H = 0x0111; 4090075Sobrien I1.H = 0x1111; 4190075Sobrien I2.H = 0x2222; 4290075Sobrien I3.H = 0x3333; 4390075Sobrien L0.H = 0x4444; 4490075Sobrien L1.H = 0x5555; 4590075Sobrien L2.H = 0x6666; 4690075Sobrien L3.H = 0x7777; 4790075Sobrien R0 = I0; 4890075Sobrien R1 = I1; 4990075Sobrien R2 = I2; 5090075Sobrien R3 = I3; 5190075Sobrien R4 = L0; 5290075Sobrien R5 = L1; 5390075Sobrien R6 = L2; 5490075Sobrien R7 = L3; 5590075Sobrien CHECKREG r0, 0x0111ffff; 5690075Sobrien CHECKREG r1, 0x1111ffff; 5790075Sobrien CHECKREG r2, 0x2222ffff; 5890075Sobrien CHECKREG r3, 0x3333ffff; 5990075Sobrien CHECKREG r4, 0x4444ffff; 6090075Sobrien CHECKREG r5, 0x5555ffff; 6190075Sobrien CHECKREG r6, 0x6666ffff; 6290075Sobrien CHECKREG r7, 0x7777ffff; 6390075Sobrien 6490075Sobrien I0.H = 0x8888; 6590075Sobrien I1.H = 0x9aaa; 6690075Sobrien I2.H = 0xabbb; 6790075Sobrien I3.H = 0xbccc; 6890075Sobrien L0.H = 0xcddd; 6990075Sobrien L1.H = 0xdeee; 7090075Sobrien L2.H = 0xefff; 7190075Sobrien L3.H = 0xf111; 7290075Sobrien R0 = I0; 7390075Sobrien R1 = I1; 7490075Sobrien R2 = I2; 7590075Sobrien R3 = I3; 7690075Sobrien R4 = L0; 7790075Sobrien R5 = L1; 7890075Sobrien R6 = L2; 7990075Sobrien R7 = L3; 8090075Sobrien CHECKREG r0, 0x8888ffff; 8190075Sobrien CHECKREG r1, 0x9aaaffff; 82169689Skan CHECKREG r2, 0xabbbffff; 8390075Sobrien CHECKREG r3, 0xbcccffff; 8490075Sobrien CHECKREG r4, 0xcdddffff; 8590075Sobrien CHECKREG r5, 0xdeeeffff; 8690075Sobrien CHECKREG r6, 0xefffffff; 87169689Skan CHECKREG r7, 0xf111ffff; 88169689Skan 8990075Sobrien B0.H = 0x3000; 9090075Sobrien B1.H = 0x3002; 9190075Sobrien B2.H = 0x3004; 9290075Sobrien B3.H = 0x3006; 9390075Sobrien M0.H = 0x3008; 9490075Sobrien M1.H = 0x300a; 9590075Sobrien M2.H = 0x300c; 9690075Sobrien M3.H = 0x300e; 9790075Sobrien 9890075Sobrien R0 = B0; 9990075Sobrien R1 = B1; 10090075Sobrien R2 = B2; 10190075Sobrien R3 = B3; 10290075Sobrien R4 = M0; 10390075Sobrien R5 = M1; 10490075Sobrien R6 = M2; 10590075Sobrien R7 = M3; 10690075Sobrien CHECKREG r0, 0x3000ffff; 10790075Sobrien CHECKREG r1, 0x3002ffff; 10890075Sobrien CHECKREG r2, 0x3004ffff; 10990075Sobrien CHECKREG r3, 0x3006ffff; 11090075Sobrien CHECKREG r4, 0x3008ffff; 11190075Sobrien CHECKREG r5, 0x300Affff; 11290075Sobrien CHECKREG r6, 0x300cffff; 11390075Sobrien CHECKREG r7, 0x300effff; 11490075Sobrien 11590075Sobrien B0.H = 0x0110; 11690075Sobrien B1.H = 0x1110; 11790075Sobrien B2.H = 0x2220; 11890075Sobrien B3.H = 0x3330; 11990075Sobrien M0.H = 0x4440; 12090075Sobrien M1.H = 0x5550; 12190075Sobrien M2.H = 0x6660; 12290075Sobrien M3.H = 0x7770; 12390075Sobrien R0 = B0; 12490075Sobrien R1 = B1; 12590075Sobrien R2 = B2; 12690075Sobrien R3 = B3; 12790075Sobrien R4 = M0; 12890075Sobrien R5 = M1; 12990075Sobrien R6 = M2; 13090075Sobrien R7 = M3; 13190075Sobrien CHECKREG r0, 0x0110FFFF; 13290075Sobrien CHECKREG r1, 0x1110FFFF; 13390075Sobrien CHECKREG r2, 0x2220FFFF; 13496263Sobrien CHECKREG r3, 0x3330FFFF; 13596263Sobrien CHECKREG r4, 0x4440FFFF; 13696263Sobrien CHECKREG r5, 0x5550FFFF; 13796263Sobrien CHECKREG r6, 0x6660FFFF; 13890075Sobrien CHECKREG r7, 0x7770FFFF; 13990075Sobrien 14090075Sobrien B0.H = 0xf880; 14190075Sobrien B1.H = 0xfaa0; 14290075Sobrien B2.H = 0xfbb0; 14390075Sobrien B3.H = 0xfcc0; 14490075Sobrien M0.H = 0xfdd0; 14596263Sobrien M1.H = 0xfee0; 14696263Sobrien M2.H = 0xfff0; 14796263Sobrien M3.H = 0xf110; 148169689Skan R0 = B0; 149132718Skan R1 = B1; 15096263Sobrien R2 = B2; 15196263Sobrien R3 = B3; 15296263Sobrien R4 = M0; 15390075Sobrien R5 = M1; 15490075Sobrien R6 = M2; 15590075Sobrien R7 = M3; 15690075Sobrien CHECKREG r0, 0xf880ffff; 15790075Sobrien CHECKREG r1, 0xfaa0ffff; 15890075Sobrien CHECKREG r2, 0xfbb0ffff; 159117395Skan CHECKREG r3, 0xfcc0ffff; 160117395Skan CHECKREG r4, 0xfdd0ffff; 161169689Skan CHECKREG r5, 0xfee0ffff; 162169689Skan CHECKREG r6, 0xfff0ffff; 163117395Skan CHECKREG r7, 0xf110ffff; 164117395Skan 165117395Skan pass 16696263Sobrien