diff options
author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2015-06-22 13:16:04 +0000 |
---|---|---|
committer | William Schmidt <wschmidt@gcc.gnu.org> | 2015-06-22 13:16:04 +0000 |
commit | 8f77aa9086f8172d87abf955a95bfbfb87440a26 (patch) | |
tree | 563f33ff5e806c563ce629fae9644d91a3657bdd /gcc/config | |
parent | 1a7611575b2dade35a46f99c67c2a649de2c12ad (diff) | |
download | gcc-8f77aa9086f8172d87abf955a95bfbfb87440a26.zip gcc-8f77aa9086f8172d87abf955a95bfbfb87440a26.tar.gz gcc-8f77aa9086f8172d87abf955a95bfbfb87440a26.tar.bz2 |
re PR target/65914 (error: unrecognizable insn)
[gcc]
2015-06-22 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR target/65914
* config/rs6000/predicates.md (altivec_register_operand): Permit
virtual stack registers.
(vsx_register_operand): Likewise.
(vfloat_operand): Likewise.
(vint_operand): Likewise.
(vlogical_operand): Likewise.
[gcc/testsuite]
2015-06-22 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR target/65914
* g++.dg/torture/pr65914.C: New.
From-SVN: r224725
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/rs6000/predicates.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/rs6000/predicates.md b/gcc/config/rs6000/predicates.md index fd293ab..e2d836f 100644 --- a/gcc/config/rs6000/predicates.md +++ b/gcc/config/rs6000/predicates.md @@ -41,7 +41,7 @@ if (!REG_P (op)) return 0; - if (REGNO (op) > LAST_VIRTUAL_REGISTER) + if (REGNO (op) >= FIRST_PSEUDO_REGISTER) return 1; return ALTIVEC_REGNO_P (REGNO (op)); @@ -57,7 +57,7 @@ if (!REG_P (op)) return 0; - if (REGNO (op) > LAST_VIRTUAL_REGISTER) + if (REGNO (op) >= FIRST_PSEUDO_REGISTER) return 1; return VSX_REGNO_P (REGNO (op)); @@ -74,7 +74,7 @@ if (!REG_P (op)) return 0; - if (REGNO (op) > LAST_VIRTUAL_REGISTER) + if (REGNO (op) >= FIRST_PSEUDO_REGISTER) return 1; return VFLOAT_REGNO_P (REGNO (op)); @@ -91,7 +91,7 @@ if (!REG_P (op)) return 0; - if (REGNO (op) > LAST_VIRTUAL_REGISTER) + if (REGNO (op) >= FIRST_PSEUDO_REGISTER) return 1; return VINT_REGNO_P (REGNO (op)); @@ -108,7 +108,7 @@ if (!REG_P (op)) return 0; - if (REGNO (op) > LAST_VIRTUAL_REGISTER) + if (REGNO (op) >= FIRST_PSEUDO_REGISTER) return 1; return VLOGICAL_REGNO_P (REGNO (op)); |