1//Original:/testcases/core/c_dsp32alu_aa_absabs/c_dsp32alu_aa_absabs.dsp 2// Spec Reference: dsp32alu a1, a0 = abs / abs a1, a0 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; 20A0 = R0; 21A1 = R1; 22 23A1 = ABS A1, A0 = ABS A0; 24R2 = A0.w; 25R3 = A1.w; 26A1 = ABS A1, A0 = ABS A0; 27R4 = A0.w; 28R5 = A1.w; 29CHECKREG r2, 0x5A9876EF; 30CHECKREG r3, 0x2789AB1D; 31CHECKREG r4, 0x5A9876EF; 32CHECKREG r5, 0x2789AB1D; 33 34 35pass 36