aboutsummaryrefslogtreecommitdiff
path: root/gcc/sched-int.h
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2017-10-04 16:40:44 +0000
committerWilco Dijkstra <wilco@gcc.gnu.org>2017-10-04 16:40:44 +0000
commit748d9390b9739dadc48a775c7ea869c42b3f39a9 (patch)
tree5d6dbb016f15373dd739a59f704264c9bb2024ab /gcc/sched-int.h
parent420db57431715a5aed988c5ba600c913dc779f0e (diff)
downloadgcc-748d9390b9739dadc48a775c7ea869c42b3f39a9.zip
gcc-748d9390b9739dadc48a775c7ea869c42b3f39a9.tar.gz
gcc-748d9390b9739dadc48a775c7ea869c42b3f39a9.tar.bz2
Revert r253399:
PR rtl-optimization/82396 * haifa-sched.c (autopref_multipass_init): Simplify initialization. (autopref_rank_data): Simplify sort order. * sched-int.h (autopref_multipass_data_): Remove multi_mem_insn_p, min_offset and max_offset. From-SVN: r253419
Diffstat (limited to 'gcc/sched-int.h')
-rw-r--r--gcc/sched-int.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/gcc/sched-int.h b/gcc/sched-int.h
index 98174f7..2af8f9f 100644
--- a/gcc/sched-int.h
+++ b/gcc/sched-int.h
@@ -819,8 +819,15 @@ struct autopref_multipass_data_
/* Base part of memory address. */
rtx base;
- /* Memory offset from the base. */
- int offset;
+ /* Memory offsets from the base. For single simple sets
+ only min_offset is valid. For multi-set insns min_offset
+ and max_offset record the minimum and maximum offsets from the same
+ base among the sets inside the PARALLEL. */
+ int min_offset;
+ int max_offset;
+
+ /* True if this is a load/store-multiple instruction. */
+ bool multi_mem_insn_p;
/* Entry status. */
enum autopref_multipass_data_status status;