[patch][i386] Remove some dead code (TARGET_BRANCH_PREDICTION_HINTS)

Steven Bosscher stevenb.gcc@gmail.com
Tue Jul 10 06:48:00 GMT 2012


Hello,

TARGET_BRANCH_PREDICTION_HINTS isn't used at all. This patch removes it.
Bootstrapped&tested (incl. -m32) on x86_64-unknown-linux-gnu. OK for trunk?

Ciao!
Steven

        * final.c (final_forward_branch_p): Remove.
        * output.h (final_forward_branch_p): Remove prototype.
        * config/i386/i386.h (X86_TUNE_BRANCH_PREDICTION_HINTS): Remove.
        (TARGET_BRANCH_PREDICTION_HINTS): Remove.
        * config/i386/i386.c (initial_ix86_tune_fe): Remove initializer
        for X86_TUNE_BRANCH_PREDICTION_HINTS.
        (ix86_print_operand): Remove support for branch hints with '%+'.
        * config/i386/i386.md (conditional jump patterns): Remove branch
        prediction hints to the template.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i386_branch_hints.diff
Type: application/octet-stream
Size: 6181 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120710/acd29b2d/attachment.obj>


More information about the Gcc-patches mailing list