Last change
on this file since 0cbc9c1 was 096f95d, checked in by Joe Ciccone <jciccone@…>, 18 years ago |
Correct patch filename.
|
-
Property mode
set to
100644
|
File size:
928 bytes
|
Rev | Line | |
---|
[e832c75] | 1 | Submitted By: Joe Ciccone <jciccone@linuxfromscratch.org>
|
---|
| 2 | Date: 2006-11-30
|
---|
| 3 | Initial Package Version: 2.5
|
---|
| 4 | Upstream Status: In CVS
|
---|
| 5 | Origin: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29114
|
---|
| 6 | Description: Fixes cross-compiling glibc for hppa on a 64bit host.
|
---|
| 7 |
|
---|
| 8 | * pa.c (emit_move_sequence): Don't split constants with PLUS for modes
|
---|
| 9 | larger than BITS_PER_WORD.
|
---|
| 10 |
|
---|
| 11 | diff -Naur gcc-4.1.1.orig/gcc/config/pa/pa.c gcc-4.1.1/gcc/config/pa/pa.c
|
---|
| 12 | --- gcc-4.1.1.orig/gcc/config/pa/pa.c 2006-11-30 17:53:19.000000000 -0500
|
---|
| 13 | +++ gcc-4.1.1/gcc/config/pa/pa.c 2006-11-30 18:37:31.000000000 -0500
|
---|
| 14 | @@ -1879,6 +1879,7 @@
|
---|
| 15 | because PLUS uses an 11-bit immediate and the insn sequence
|
---|
| 16 | generated is not as efficient as the one using HIGH/LO_SUM. */
|
---|
| 17 | if (GET_CODE (operand1) == CONST_INT
|
---|
| 18 | + && GET_MODE_BITSIZE (mode) <= BITS_PER_WORD
|
---|
| 19 | && GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT
|
---|
| 20 | && !insert)
|
---|
| 21 | {
|
---|
Note:
See
TracBrowser
for help on using the repository browser.