aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-03-25 06:43:43 +0000
committerMike Frysinger <vapier@gentoo.org>2012-03-25 06:43:43 +0000
commit8f784a0e6ad19b9cd7afc9a67d7ee39a5f5f94cf (patch)
treebdd7571b5a4cb543c92776283d6ba34dfca54f3b
parente0645b30354aea64eae1e6682c4f643c149a5485 (diff)
downloadgdb-8f784a0e6ad19b9cd7afc9a67d7ee39a5f5f94cf.zip
gdb-8f784a0e6ad19b9cd7afc9a67d7ee39a5f5f94cf.tar.gz
gdb-8f784a0e6ad19b9cd7afc9a67d7ee39a5f5f94cf.tar.bz2
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.
-rw-r--r--sim/testsuite/sim/bfin/ChangeLog8
-rw-r--r--sim/testsuite/sim/bfin/c_dsp32mac_dr_a1a0.s2
-rw-r--r--sim/testsuite/sim/bfin/c_dsp32mac_dr_a1a0_iutsh.s2
-rw-r--r--sim/testsuite/sim/bfin/c_dsp32mac_dr_a1a0_m.s2
-rw-r--r--sim/testsuite/sim/bfin/c_dsp32shift_vmaxvmax.s2
-rw-r--r--sim/testsuite/sim/bfin/c_dsp32shiftim_af_s.s2
6 files changed, 13 insertions, 5 deletions
diff --git a/sim/testsuite/sim/bfin/ChangeLog b/sim/testsuite/sim/bfin/ChangeLog
index 849f2b2..6dbe3ee 100644
--- a/sim/testsuite/sim/bfin/ChangeLog
+++ b/sim/testsuite/sim/bfin/ChangeLog
@@ -1,3 +1,11 @@
+2012-03-25 Mike Frysinger <vapier@gentoo.org>
+
+ * 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 <vapier@gentoo.org>
* 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 700cbdf..e84f3d5 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 8d4232e..8f9e70c 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 75fcc43..2b6f741 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 48e8d4b..0d4722a 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 748d8c9..5fdf02a 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;