Remove TARGET_foo (ix86_tune == PROCESSOR_foo) macros.
authorMartin Liska <mliska@suse.cz>
Tue, 9 Mar 2021 13:56:54 +0000 (14:56 +0100)
committerMartin Liska <mliska@suse.cz>
Wed, 21 Apr 2021 14:13:44 +0000 (16:13 +0200)
commitf23881fcf081a6edd538d6d54fa0068d716973d7
tree632aa0df6600bdc936ec8785743ca3e86a2fb54e
parent1751bec027f030515889fcf4baa9c91501aafc85
Remove TARGET_foo (ix86_tune == PROCESSOR_foo) macros.

gcc/ChangeLog:

* config/i386/i386-expand.c (decide_alignment): Use newly named
macro TARGET_CPU_P.
* config/i386/i386.c (ix86_decompose_address): Likewise.
(ix86_address_cost): Likewise.
(ix86_lea_outperforms): Likewise.
(ix86_avoid_lea_for_addr): Likewise.
(ix86_add_stmt_cost): Likewise.
* config/i386/i386.h (TARGET_*): Remove.
(TARGET_CPU_P): New macro.
* config/i386/i386.md: Use newly named macro TARGET_CPU_P.
* config/i386/x86-tune-sched-atom.c (do_reorder_for_imul): Likewise.
(swap_top_of_ready_list): Likewise.
(ix86_atom_sched_reorder): Likewise.
* config/i386/x86-tune-sched-bd.c (ix86_bd_has_dispatch): Likewise.
* config/i386/x86-tune-sched.c (ix86_adjust_cost): Likewise.
gcc/config/i386/i386-expand.c
gcc/config/i386/i386.c
gcc/config/i386/i386.h
gcc/config/i386/i386.md
gcc/config/i386/x86-tune-sched-atom.c
gcc/config/i386/x86-tune-sched-bd.c
gcc/config/i386/x86-tune-sched.c