diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2008-05-16 09:33:59 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2008-05-16 09:33:59 +0000 |
commit | 34c347b9448e1c752c885cf312ec730e1176af9d (patch) | |
tree | fc42277ca7ffcb555be479eb4c36134a7ce3c68c /packages/gcc/gcc-4.2.3/arm-crunch-predicates.patch | |
parent | e4068ea40e02f149c1d4fbd7ec4b7686bf056f80 (diff) |
Add gcc 4.2.3 and gcc 3.4.6-native from Poky
Diffstat (limited to 'packages/gcc/gcc-4.2.3/arm-crunch-predicates.patch')
-rw-r--r-- | packages/gcc/gcc-4.2.3/arm-crunch-predicates.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/gcc/gcc-4.2.3/arm-crunch-predicates.patch b/packages/gcc/gcc-4.2.3/arm-crunch-predicates.patch new file mode 100644 index 0000000000..4841ff8178 --- /dev/null +++ b/packages/gcc/gcc-4.2.3/arm-crunch-predicates.patch @@ -0,0 +1,20 @@ +diff -urN gcc-4.1.2/gcc/config/arm/predicates.md ../../../../old-tmp/work/arm-oabi-angstrom-linux/gcc-cross-4.1.2-backup/gcc-4.1.2/gcc/config/arm/predicates.md +--- gcc-4.1.2/gcc/config/arm/predicates.md 2005-09-11 17:38:02.000000000 +1000 ++++ gcc-4.1.2/gcc/config/arm/predicates.md 2007-05-30 12:15:54.000000000 +1000 +@@ -171,8 +171,14 @@ + (match_code "eq,ne")) + + ;; True for comparisons other than LTGT or UNEQ. ++(define_special_predicate "arm_comparison_operator" ++; (match_code "eq,ne,le,lt,ge,gt,geu,gtu,leu,ltu,unordered,ordered,unlt,unle,unge,ungt")) ;; original - no LTGT or UNEQ ++; (match_code "eq,ne,le,lt,ge,gt,geu,gtu,leu,ltgt,ltu,unordered,ordered,uneq,unlt,unle,unge,ungt")) ;; everything? ++;; True for comparisons other than GE, GEU, UNLT, unordered or ordered. - Cirrus Version - must include ge? +-(define_special_predicate "arm_comparison_operator" ++;(define_special_predicate "arm_comparison_operator" +- (match_code "eq,ne,le,lt,ge,gt,geu,gtu,leu,ltu,unordered,ordered,unlt,unle,unge,ungt")) ++(match_code "eq,ne,le,lt,ge,geu,gt,gtu,leu,ltgt,ltu,uneq,unle,unge,ungt")) ;; bad codes removed? ++;(match_code "eq,ne,le,lt,gt,gtu,leu,ltgt,ltu,uneq,unle,unge,ungt")) ;; bad codes removed + ge / geu removed ++ + + (define_special_predicate "minmax_operator" + (and (match_code "smin,smax,umin,umax") |