1//Original:/testcases/core/c_dsp32alu_a_abs_a/c_dsp32alu_a_abs_a.dsp 2// Spec Reference: dsp32alu a = abs a 3# mach: bfin 4 5.include "testutils.inc" 6 start 7 8 9 10 11 12imm32 r0, 0xa5678911; 13imm32 r1, 0x2789ab1d; 14imm32 r2, 0x3b44b515; 15imm32 r3, 0x46667717; 16imm32 r4, 0x5567891b; 17imm32 r5, 0x6789ab1d; 18imm32 r6, 0x74445515; 19imm32 r7, 0x86667777; 20A1 = A0 = 0; 21A0 = R0; 22 23A0 = ABS A0; 24A1 = ABS A0; 25A1 = ABS A1; 26A0 = ABS A1; 27R1 = A0.w; 28R2 = A1.w; 29CHECKREG r0, 0xA5678911; 30CHECKREG r1, 0x5A9876EF; 31CHECKREG r2, 0x5A9876EF; 32 33 34pass 35