summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc-4.2.3/arm-crunch-neg2.patch
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-04-17 10:04:19 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-04-17 10:04:19 +0000
commit66df6d12445faf14fcab925e883375758f7132a2 (patch)
tree49092dbe08b3a6b9322b9ccf9e0e51a7a6e2c498 /meta/packages/gcc/gcc-4.2.3/arm-crunch-neg2.patch
parentabca3ca42f2097d1cef8c2eb87fce46604618af2 (diff)
downloadpoky-66df6d12445faf14fcab925e883375758f7132a2.tar.gz
gcc: upgrade 4.2.2 -> 4.2.3
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4286 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gcc/gcc-4.2.3/arm-crunch-neg2.patch')
-rw-r--r--meta/packages/gcc/gcc-4.2.3/arm-crunch-neg2.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-4.2.3/arm-crunch-neg2.patch b/meta/packages/gcc/gcc-4.2.3/arm-crunch-neg2.patch
new file mode 100644
index 0000000000..4fd91f3215
--- /dev/null
+++ b/meta/packages/gcc/gcc-4.2.3/arm-crunch-neg2.patch
@@ -0,0 +1,25 @@
1--- gcc-4.1.2/gcc/config/arm/cirrus.md-original 2007-06-12 17:01:24.000000000 +1000
2+++ gcc-4.1.2/gcc/config/arm/cirrus.md 2007-06-12 17:03:26.000000000 +1000
3@@ -255,18 +256,20 @@
4 [(set_attr "cirrus" "normal")]
5 )
6
7+;; appears to be buggy: neg 0 != -0
8 (define_insn "*cirrus_negsf2"
9 [(set (match_operand:SF 0 "cirrus_fp_register" "=v")
10 (neg:SF (match_operand:SF 1 "cirrus_fp_register" "v")))]
11- "TARGET_ARM && TARGET_HARD_FLOAT && TARGET_MAVERICK"
12+ "TARGET_ARM && TARGET_HARD_FLOAT && TARGET_MAVERICK && 0"
13 "cfnegs%?\\t%V0, %V1"
14 [(set_attr "cirrus" "normal")]
15 )
16
17+;; appears to be buggy: neg 0 != -0
18 (define_insn "*cirrus_negdf2"
19 [(set (match_operand:DF 0 "cirrus_fp_register" "=v")
20 (neg:DF (match_operand:DF 1 "cirrus_fp_register" "v")))]
21- "TARGET_ARM && TARGET_HARD_FLOAT && TARGET_MAVERICK"
22+ "TARGET_ARM && TARGET_HARD_FLOAT && TARGET_MAVERICK && 0"
23 "cfnegd%?\\t%V0, %V1"
24 [(set_attr "cirrus" "normal")]
25 )