summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-08-01 15:57:45 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-08-01 15:57:45 +0000
commitdca1f671e7d6afe84a63f74b913591989d8e2535 (patch)
tree436972ae39949feed98e2c2e67d7c7ffd700b9be /gnu
parent5d1c755d80a12ff4ecbdfaba89af3e7577e4839b (diff)
Change the compilers default scheduling settings from PA-8000 (4 instructions
in parallel) to PA-700 (no parallel instructions) on 32-bit hppa. This causes gcc to produce slightly faster code on most supported hppa, no change in code size. Tested by marcop@, mickey@, I and a few others; ok mickey@
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gcc/gcc/config/pa/openbsd.h3
-rw-r--r--gnu/usr.bin/gcc/gcc/config/pa/pa-openbsd64.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/pa/openbsd.h b/gnu/usr.bin/gcc/gcc/config/pa/openbsd.h
index 2aec2702808..6c26e8872d1 100644
--- a/gnu/usr.bin/gcc/gcc/config/pa/openbsd.h
+++ b/gnu/usr.bin/gcc/gcc/config/pa/openbsd.h
@@ -31,6 +31,9 @@ Boston, MA 02111-1307, USA. */
#undef MAX_OFILE_ALIGNMENT
#define MAX_OFILE_ALIGNMENT 0x8000
+#undef TARGET_SCHED_DEFAULT
+#define TARGET_SCHED_DEFAULT "700"
+
/* libc's profiling functions don't need gcc to allocate counters. */
#define NO_PROFILE_COUNTERS 1
diff --git a/gnu/usr.bin/gcc/gcc/config/pa/pa-openbsd64.h b/gnu/usr.bin/gcc/gcc/config/pa/pa-openbsd64.h
index 6a6e544615f..5ea658e2267 100644
--- a/gnu/usr.bin/gcc/gcc/config/pa/pa-openbsd64.h
+++ b/gnu/usr.bin/gcc/gcc/config/pa/pa-openbsd64.h
@@ -22,6 +22,9 @@ Boston, MA 02111-1307, USA. */
#undef MAX_OFILE_ALIGNMENT
#define MAX_OFILE_ALIGNMENT 0x8000
+#undef TARGET_SCHED_DEFAULT
+#define TARGET_SCHED_DEFAULT "8000"
+
/* libc's profiling functions don't need gcc to allocate counters. */
#define NO_PROFILE_COUNTERS 1