From 9c810a4e44d42c6c5c6c7ac2ae141ad21e7b15ab Mon Sep 17 00:00:00 2001 From: Venkataramanan Kumar Date: Tue, 23 Aug 2016 06:45:36 +0000 Subject: [PATCH] 2016-08-23 Venkataramanan Kumar * config/i386/i386.c (processor_alias_table): Enable PTA_PRFCHW for targets amdfam10 and barcelona. From-SVN: r239682 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1518a449abe..b9798f1a5f9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-08-23 Venkataramanan Kumar + + * config/i386/i386.c (processor_alias_table): Enable PTA_PRFCHW + for targets amdfam10 and barcelona. + 2016-08-22 Uros Bizjak * config/i386/i386.md (*zero_extendsidi2): Add (*r,*k) alternative. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 2639c8cbbb5..8c426ff5f2a 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -4958,10 +4958,10 @@ ix86_option_override_internal (bool main_args_p, | PTA_SSE2 | PTA_NO_SAHF | PTA_FXSR}, {"amdfam10", PROCESSOR_AMDFAM10, CPU_AMDFAM10, PTA_64BIT | PTA_MMX | PTA_3DNOW | PTA_3DNOW_A | PTA_SSE | PTA_SSE2 - | PTA_SSE3 | PTA_SSE4A | PTA_CX16 | PTA_ABM | PTA_FXSR}, + | PTA_SSE3 | PTA_SSE4A | PTA_CX16 | PTA_ABM | PTA_FXSR | PTA_PRFCHW}, {"barcelona", PROCESSOR_AMDFAM10, CPU_AMDFAM10, PTA_64BIT | PTA_MMX | PTA_3DNOW | PTA_3DNOW_A | PTA_SSE | PTA_SSE2 - | PTA_SSE3 | PTA_SSE4A | PTA_CX16 | PTA_ABM | PTA_FXSR}, + | PTA_SSE3 | PTA_SSE4A | PTA_CX16 | PTA_ABM | PTA_FXSR | PTA_PRFCHW}, {"bdver1", PROCESSOR_BDVER1, CPU_BDVER1, PTA_64BIT | PTA_MMX | PTA_SSE | PTA_SSE2 | PTA_SSE3 | PTA_SSE4A | PTA_CX16 | PTA_ABM | PTA_SSSE3 | PTA_SSE4_1 -- 2.30.2