From: Mike Frysinger Date: Sun, 25 Mar 2012 06:43:43 +0000 (+0000) Subject: sim: bfin: fix typos in large constants in tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f784a0e6ad19b9cd7afc9a67d7ee39a5f5f94cf;p=binutils-gdb.git sim: bfin: fix typos in large constants in tests Truncate constants that are larger than 32bits but get loaded into 32bit registers. These high bits don't get used and don't really make sense. --- diff --git a/sim/testsuite/sim/bfin/ChangeLog b/sim/testsuite/sim/bfin/ChangeLog index 849f2b2280e..6dbe3ee035b 100644 --- a/sim/testsuite/sim/bfin/ChangeLog +++ b/sim/testsuite/sim/bfin/ChangeLog @@ -1,3 +1,11 @@ +2012-03-25 Mike Frysinger + + * c_dsp32mac_dr_a1a0.s: Change 0x12efbc5569 to 0xefbc5569. + * c_dsp32mac_dr_a1a0_iutsh.s: Change 0x12efbc556 to 0x2efbc556. + * c_dsp32mac_dr_a1a0_m.s: Change 0x12efbc5569 to 0xefbc5569. + * c_dsp32shift_vmaxvmax.s: Change 0xa11002001 to 0x11002001. + * c_dsp32shiftim_af_s.s: Change 0x3a1230001 to 0xa1230001. + 2012-03-19 Mike Frysinger * se_all64bitg0opcodes.S, se_all64bitg1opcodes.S, diff --git a/sim/testsuite/sim/bfin/c_dsp32mac_dr_a1a0.s b/sim/testsuite/sim/bfin/c_dsp32mac_dr_a1a0.s index 700cbdf4d30..e84f3d59030 100644 --- a/sim/testsuite/sim/bfin/c_dsp32mac_dr_a1a0.s +++ b/sim/testsuite/sim/bfin/c_dsp32mac_dr_a1a0.s @@ -14,7 +14,7 @@ imm32 r1, 0xb2bcfec7; imm32 r2, 0xc1348679; imm32 r3, 0xd0049007; - imm32 r4, 0x12efbc5569; + imm32 r4, 0xefbc5569; imm32 r5, 0xcd35560b; imm32 r6, 0xe00c807d; imm32 r7, 0xf78e9008; diff --git a/sim/testsuite/sim/bfin/c_dsp32mac_dr_a1a0_iutsh.s b/sim/testsuite/sim/bfin/c_dsp32mac_dr_a1a0_iutsh.s index 8d4232e3a03..8f9e70c5ee9 100644 --- a/sim/testsuite/sim/bfin/c_dsp32mac_dr_a1a0_iutsh.s +++ b/sim/testsuite/sim/bfin/c_dsp32mac_dr_a1a0_iutsh.s @@ -14,7 +14,7 @@ imm32 r1, 0xb2bcfec7; imm32 r2, 0xc1348679; imm32 r3, 0xd0049007; - imm32 r4, 0x12efbc556; + imm32 r4, 0x2efbc556; imm32 r5, 0xcd35560b; imm32 r6, 0xe00c807d; imm32 r7, 0xf78e9008; diff --git a/sim/testsuite/sim/bfin/c_dsp32mac_dr_a1a0_m.s b/sim/testsuite/sim/bfin/c_dsp32mac_dr_a1a0_m.s index 75fcc43292f..2b6f741ac8a 100644 --- a/sim/testsuite/sim/bfin/c_dsp32mac_dr_a1a0_m.s +++ b/sim/testsuite/sim/bfin/c_dsp32mac_dr_a1a0_m.s @@ -14,7 +14,7 @@ imm32 r1, 0xb2bcfec7; imm32 r2, 0xc1348679; imm32 r3, 0xd0049007; - imm32 r4, 0x12efbc5569; + imm32 r4, 0xefbc5569; imm32 r5, 0xcd35560b; imm32 r6, 0xe00c807d; imm32 r7, 0xf78e9008; diff --git a/sim/testsuite/sim/bfin/c_dsp32shift_vmaxvmax.s b/sim/testsuite/sim/bfin/c_dsp32shift_vmaxvmax.s index 48e8d4bef52..0d4722ae60d 100644 --- a/sim/testsuite/sim/bfin/c_dsp32shift_vmaxvmax.s +++ b/sim/testsuite/sim/bfin/c_dsp32shift_vmaxvmax.s @@ -33,7 +33,7 @@ CHECKREG r5, 0x71004300; CHECKREG r6, 0x81007100; CHECKREG r7, 0x19008100; -imm32 r0, 0xa11002001; +imm32 r0, 0x11002001; imm32 r1, 0xd2001001; imm32 r2, 0x14301302; imm32 r3, 0x43001003; diff --git a/sim/testsuite/sim/bfin/c_dsp32shiftim_af_s.s b/sim/testsuite/sim/bfin/c_dsp32shiftim_af_s.s index 748d8c97634..5fdf02a0efc 100644 --- a/sim/testsuite/sim/bfin/c_dsp32shiftim_af_s.s +++ b/sim/testsuite/sim/bfin/c_dsp32shiftim_af_s.s @@ -33,7 +33,7 @@ CHECKREG r5, 0x80000000; CHECKREG r6, 0x80000000; CHECKREG r7, 0x80000000; -imm32 r0, 0x3a1230001; +imm32 r0, 0xa1230001; imm32 r1, 0x1e345678; imm32 r2, 0x23f56789; imm32 r3, 0x34db789a;