diff options
author | Mark Loeser <halcy0n@gentoo.org> | 2006-04-13 21:59:46 +0000 |
---|---|---|
committer | Mark Loeser <halcy0n@gentoo.org> | 2006-04-13 21:59:46 +0000 |
commit | 53c24a936a365c414de0f27e8119c00d79c68761 (patch) | |
tree | 05895da9a4368fb30098fbd45b0dc0631f437acc /4.1.0 | |
parent | gcc-4.1.0 port needs a little more tweaking (diff) | |
download | gcc-patches-53c24a936a365c414de0f27e8119c00d79c68761.tar.gz gcc-patches-53c24a936a365c414de0f27e8119c00d79c68761.tar.bz2 gcc-patches-53c24a936a365c414de0f27e8119c00d79c68761.zip |
Fixes bad altivec code; bug #129008
Diffstat (limited to '4.1.0')
-rw-r--r-- | 4.1.0/gentoo/14_all_gcc41-pr27006.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/4.1.0/gentoo/14_all_gcc41-pr27006.patch b/4.1.0/gentoo/14_all_gcc41-pr27006.patch new file mode 100644 index 0000000..7a2f7f2 --- /dev/null +++ b/4.1.0/gentoo/14_all_gcc41-pr27006.patch @@ -0,0 +1,12 @@ +--- branches/gcc-4_1-branch/gcc/config/rs6000/rs6000.h 2006/04/13 20:26:59 112923 ++++ branches/gcc-4_1-branch/gcc/config/rs6000/rs6000.h 2006/04/13 20:33:51 112924 +@@ -1699,7 +1699,8 @@ + + #define EASY_VECTOR_15(n) ((n) >= -16 && (n) <= 15) + #define EASY_VECTOR_15_ADD_SELF(n) (!EASY_VECTOR_15((n)) \ +- && EASY_VECTOR_15((n) >> 1)) ++ && EASY_VECTOR_15((n) >> 1) \ ++ && ((n) & 1) == 0) + + /* The macros REG_OK_FOR..._P assume that the arg is a REG rtx + and check its validity for a certain class. |