Commit e4f5b48e by Richard Kenner

(floatsidf2): Test BITS_PER_WORD in pattern condition not during build.

Fail if TARGET_POWERPC64.
(floatunssidf2): Likewise.

From-SVN: r8591
parent 2e360ab3
...@@ -2991,15 +2991,9 @@ ...@@ -2991,15 +2991,9 @@
(set (match_operand:DF 0 "gpc_reg_operand" "") (set (match_operand:DF 0 "gpc_reg_operand" "")
(minus:DF (subreg:DF (match_dup 2) 0) (minus:DF (subreg:DF (match_dup 2) 0)
(match_dup 5)))] (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[2] = gen_reg_rtx (DImode);
operands[3] = gen_rtx (CONST_INT, VOIDmode, 0x80000000); operands[3] = gen_rtx (CONST_INT, VOIDmode, 0x80000000);
operands[4] = immed_double_const (0, 0x43300000, DImode); operands[4] = immed_double_const (0, 0x43300000, DImode);
...@@ -3014,15 +3008,9 @@ ...@@ -3014,15 +3008,9 @@
(set (match_operand:DF 0 "gpc_reg_operand" "") (set (match_operand:DF 0 "gpc_reg_operand" "")
(minus:DF (subreg:DF (match_dup 2) 0) (minus:DF (subreg:DF (match_dup 2) 0)
(match_dup 4)))] (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[2] = gen_reg_rtx (DImode);
operands[3] = immed_double_const (0, 0x43300000, DImode); operands[3] = immed_double_const (0, 0x43300000, DImode);
operands[4] = force_reg (DFmode, immed_double_const (0x43300000, 0, DFmode)); operands[4] = force_reg (DFmode, immed_double_const (0x43300000, 0, DFmode));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment