aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-11-30 18:51:42 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1994-11-30 18:51:42 -0500
commite4f5b48ec244f2eec9e9c581e7ec1e7585baaa6c (patch)
tree2978cdf407141017747829d803b5a6d0ee0420dd
parent2e360ab3f729cd08a51e626558b76802492d23db (diff)
downloadgcc-e4f5b48ec244f2eec9e9c581e7ec1e7585baaa6c.zip
gcc-e4f5b48ec244f2eec9e9c581e7ec1e7585baaa6c.tar.gz
gcc-e4f5b48ec244f2eec9e9c581e7ec1e7585baaa6c.tar.bz2
(floatsidf2): Test BITS_PER_WORD in pattern condition not during build.
Fail if TARGET_POWERPC64. (floatunssidf2): Likewise. From-SVN: r8591
-rw-r--r--gcc/config/rs6000/rs6000.md16
1 files changed, 2 insertions, 14 deletions
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index 5343d3c..4445433 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -2991,15 +2991,9 @@
(set (match_operand:DF 0 "gpc_reg_operand" "")
(minus:DF (subreg:DF (match_dup 2) 0)
(match_dup 5)))]
- ""
+ "! TARGET_POWERPC64 && HOST_BITS_PER_INT == BITS_PER_WORD"
"
{
-#if HOST_BITS_PER_INT != BITS_PER_WORD
- /* Maybe someone can figure out how to do this in that case. I don't
- want to right now. */
- abort ();
-#endif
-
operands[2] = gen_reg_rtx (DImode);
operands[3] = gen_rtx (CONST_INT, VOIDmode, 0x80000000);
operands[4] = immed_double_const (0, 0x43300000, DImode);
@@ -3014,15 +3008,9 @@
(set (match_operand:DF 0 "gpc_reg_operand" "")
(minus:DF (subreg:DF (match_dup 2) 0)
(match_dup 4)))]
- ""
+ "! TARGET_POWERPC64 && HOST_BITS_PER_INT == BITS_PER_WORD"
"
{
-#if HOST_BITS_PER_INT != BITS_PER_WORD
- /* Maybe someone can figure out how to do this in that case. I don't
- want to right now. */
- abort ();
-#endif
-
operands[2] = gen_reg_rtx (DImode);
operands[3] = immed_double_const (0, 0x43300000, DImode);
operands[4] = force_reg (DFmode, immed_double_const (0x43300000, 0, DFmode));