diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2011-09-27 16:53:45 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2011-09-27 16:53:45 +0000 |
commit | 0debadf3b51f4826dd83f2ac2015e8cf424ccfb5 (patch) | |
tree | 2b99f644d8d5b1a5a4c9121cf585bbc6715c0750 /gnu/usr.bin | |
parent | a0d563a0542570d0173bdc746038ace23eae3c17 (diff) |
Enable previous find_barrier() pessimization also for non-PIC code too.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/sh/sh.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/sh/sh.c b/gnu/usr.bin/gcc/gcc/config/sh/sh.c index fa595e7468a..cbf6d77cc8e 100644 --- a/gnu/usr.bin/gcc/gcc/config/sh/sh.c +++ b/gnu/usr.bin/gcc/gcc/config/sh/sh.c @@ -2688,11 +2688,8 @@ find_barrier (num_mova, mova, from) si_limit = 1018; hi_limit = 510; #if defined(OPENBSD_NATIVE) || defined(OPENBSD_CROSS) - if (flag_pic) - { - si_limit -= 16; - hi_limit -= 16; - } + si_limit -= flag_pic ? 16 : 8; + hi_limit -= flag_pic ? 16 : 8; #endif while (from && count_si < si_limit && count_hi < hi_limit) |