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]

[PATCH 0/2] GCC 6: i386: Move struct ix86_frame to machine_function


This patch set makes ix86_frame available to i386 code generation.  They
are needed to backport the patch set of -mindirect-branch= to mitigate
variant #2 of the speculative execution vulnerabilities on x86 processors
identified by CVE-2017-5715, aka Spectre.

Tested on Linux/i686 and Linux/x86-64.

hjl (2):
  i386: Move struct ix86_frame to machine_function
  i386: Use reference of struct ix86_frame to avoid copy

 gcc/config/i386/i386.c | 70 ++++++++++----------------------------------------
 gcc/config/i386/i386.h | 53 +++++++++++++++++++++++++++++++++++++-
 2 files changed, 65 insertions(+), 58 deletions(-)

-- 
2.14.3


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]