This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
This is the 2nd of 11 patches to tune gcc for AMD's AMDFAM10 processor (based on mainline rev 121295). This patch defines mtune=amdfam10 and enables/disables some existing tuning choices for amdfam10 such as aligning loop tops to 32 bytes and using push/pops instead of moves for prologue/epilogue.
#define m_GENERIC64 (1<<PROCESSOR_GENERIC64) #define m_GENERIC (m_GENERIC32 | m_GENERIC64) +#define m_ATHLON_K8_AMDFAM10 (m_K8 | m_ATHLON | m_AMDFAM10)
(x86_use_leave, x86_push_memory, int x86_movx, x86_unroll_strlen,
x86_cmove, x86_fisttp, x86_3dnow_a, x86_deep_branch,
x86_use_simode_fiop, x86_promote_QImode,
BTW: Is there really a reason to use combined defines , such as m_ATHLON_K8_AMDFAM10? These are used only in i386.c in a lines below and IMO don't bring us anything.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |