summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2008-12-12 10:25:55 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2008-12-12 10:25:55 +0000
commit2c80d17f9f92b91770bd0e3224d156b8c97dcf94 (patch)
tree550828fcdef5dafe2f05a5d4bcca040b9cfc4d85
parentb126ad48b82fb94d4024b4b444267dd382f24774 (diff)
downloadgcc-2c80d17f9f92b91770bd0e3224d156b8c97dcf94.tar.gz
* config/alpha/sync.md (memory_barrier): Remove mem:BLK from operands.
Use Pmode for scratch reg. (*mb_internal): Use (match_dup 0) for unspec operand. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142705 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog20
-rw-r--r--gcc/config/alpha/sync.md8
2 files changed, 17 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6c9a378e78a..74072c8c712 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2008-12-12 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/alpha/sync.md (memory_barrier): Remove mem:BLK from operands.
+ Use Pmode for scratch reg.
+ (*mb_internal): Use (match_dup 0) for unspec operand.
+
2008-12-12 Alexandre Oliva <aoliva@redhat.com>
* tree-vrp.c (extract_range_from_binary_expr): Don't shift by
@@ -103,7 +109,7 @@
2008-12-11 Sebastian Pop <sebastian.pop@amd.com>
Jan Sjodin <jan.sjodin@amd.com>
- Harsha Jagasia <harsha.jagasia@amd.com>
+ Harsha Jagasia <harsha.jagasia@amd.com>
PR middle-end/37852
PR middle-end/37883
@@ -116,7 +122,8 @@
PR middle-end/38125
* tree-phinodes.c (remove_phi_nodes): New, extracted from...
- * tree-cfg.c (remove_phi_nodes_and_edges_for_unreachable_block): ...here.
+ * tree-cfg.c (remove_phi_nodes_and_edges_for_unreachable_block):
+ ... here.
* tree-flow.h (remove_phi_nodes, canonicalize_loop_ivs): Declared.
* Makefile.in (graphite.o): Depend on value-prof.h.
(graphite.o-warn): Removed -Wno-error.
@@ -195,8 +202,8 @@
block loops with less than two loops.
(graphite_apply_transformations): Remove the call to
scop_remove_ignoreable_gbbs.
- (limit_scops): When build_scop_loop_nests fails, continue on next scop.
- Fix open_scop.entry.
+ (limit_scops): When build_scop_loop_nests fails, continue on next
+ scop. Fix open_scop.entry.
(graphite_transform_loops): Call recompute_all_dominators: force the
recomputation of correct CDI_DOMINATORS and CDI_POST_DOMINATORS.
Call initialize_original_copy_tables and free_original_copy_tables
@@ -214,8 +221,7 @@
2008-12-10 Daniel Berlin <dberlin@dberlin.org>
PR tree-optimization/36792
- * tree-ssa-pre.c (compute_avail): Don't insert defs into maximal
- set.
+ * tree-ssa-pre.c (compute_avail): Don't insert defs into maximal set.
2008-12-10 Alexandre Oliva <aoliva@redhat.com>
@@ -431,7 +437,7 @@
case.
* calls.c (nitialize_argument_information): Add fntype argument
and use it for calls.promote_function_args.
- (expand_call): Pass fntype to aggregate_value_p if no fndecl
+ (expand_call): Pass fntype to aggregate_value_p if no fndecl
available and pass additional fntype to
initialize_argument_information.
* config/i386/i386.c (ix86_reg_parm_stack_space): Remove cfun part
diff --git a/gcc/config/alpha/sync.md b/gcc/config/alpha/sync.md
index fe8301f344b..1c7ee45c588 100644
--- a/gcc/config/alpha/sync.md
+++ b/gcc/config/alpha/sync.md
@@ -28,17 +28,17 @@
(define_expand "memory_barrier"
- [(set (mem:BLK (match_dup 0))
- (unspec:BLK [(mem:BLK (match_dup 0))] UNSPEC_MB))]
+ [(set (match_dup 0)
+ (unspec:BLK [(match_dup 0)] UNSPEC_MB))]
""
{
- operands[0] = gen_rtx_MEM (BLKmode, gen_rtx_SCRATCH (DImode));
+ operands[0] = gen_rtx_MEM (BLKmode, gen_rtx_SCRATCH (Pmode));
MEM_VOLATILE_P (operands[0]) = 1;
})
(define_insn "*mb_internal"
[(set (match_operand:BLK 0 "" "")
- (unspec:BLK [(match_operand:BLK 1 "" "")] UNSPEC_MB))]
+ (unspec:BLK [(match_dup 0)] UNSPEC_MB))]
""
"mb"
[(set_attr "type" "mb")])