Commit a2e49bb2 by Uros Bizjak

predicates.md (pic_32bit_opreand): Do not define as special predicate.

	* config/i386/predicates.md (pic_32bit_opreand): Do not define as
	special predicate.  Remove explicit mode checks.

From-SVN: r176879
parent b3882148
2011-07-28 Uros Bizjak <ubizjak@gmail.com>
* config/i386/predicates.md (pic_32bit_opreand): Do not define as
special predicate. Remove explicit mode checks.
2011-07-28 Jakub Jelinek <jakub@redhat.com> 2011-07-28 Jakub Jelinek <jakub@redhat.com>
* dwarf2out.c (resolve_addr): For -gdwarf-2 don't * dwarf2out.c (resolve_addr): For -gdwarf-2 don't optimize
optimize DW_AT_data_member_location containing just DW_AT_data_member_location containing just DW_OP_plus_uconst.
DW_OP_plus_uconst.
PR debug/49871 PR debug/49871
* dwarf2out.c (size_of_die, value_format, output_die): Use * dwarf2out.c (size_of_die, value_format, output_die): Use
...@@ -38,7 +42,7 @@ ...@@ -38,7 +42,7 @@
* config/arm/vfp.md ("*movdf_vfp"): Handle the VFP constraints * config/arm/vfp.md ("*movdf_vfp"): Handle the VFP constraints
before the core constraints. Adjust attributes. before the core constraints. Adjust attributes.
(*thumb2_movdf_vfp"): Likewise. ("*thumb2_movdf_vfp"): Likewise.
2011-07-28 Kai Tietz <ktietz@redhat.com> 2011-07-28 Kai Tietz <ktietz@redhat.com>
...@@ -178,8 +182,8 @@ ...@@ -178,8 +182,8 @@
2011-07-27 Uros Bizjak <ubizjak@gmail.com> 2011-07-27 Uros Bizjak <ubizjak@gmail.com>
* config/i386/predicates.md (x86_64_movabs_operand): Reject * config/i386/predicates.md (x86_64_movabs_operand): Return false
pic32_bit_operand RTXes. for pic_32bit_operand RTXes.
* config/i386/i386.c (ix86_expand_move): Check x86_64_movabs_operand * config/i386/i386.c (ix86_expand_move): Check x86_64_movabs_operand
in DImode. in DImode.
......
...@@ -366,15 +366,12 @@ ...@@ -366,15 +366,12 @@
;; Return true when operand is PIC expression that can be computed by lea ;; Return true when operand is PIC expression that can be computed by lea
;; operation. ;; operation.
(define_special_predicate "pic_32bit_operand" (define_predicate "pic_32bit_operand"
(match_code "const,symbol_ref,label_ref") (match_code "const,symbol_ref,label_ref")
{ {
if (GET_MODE (op) != SImode
&& GET_MODE (op) != DImode)
return false;
if (!flag_pic) if (!flag_pic)
return false; return false;
/* Rule out relocations that translate into 64bit constants. */ /* Rule out relocations that translate into 64bit constants. */
if (TARGET_64BIT && GET_CODE (op) == CONST) if (TARGET_64BIT && GET_CODE (op) == CONST)
{ {
...@@ -386,6 +383,7 @@ ...@@ -386,6 +383,7 @@
|| XINT (op, 1) == UNSPEC_GOT)) || XINT (op, 1) == UNSPEC_GOT))
return false; return false;
} }
return symbolic_operand (op, mode); return symbolic_operand (op, mode);
}) })
......
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