[PATCH] D43394: [X86] Add 'sahf' CPU feature, and emit __LAHFSAHF__ for it

Dimitry Andric via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 16 15:24:12 PST 2018


dim updated this revision to Diff 134746.
dim added a comment.

Added the `sahf` feature for knm, knl and amdfam10 too.


Repository:
  rC Clang

https://reviews.llvm.org/D43394

Files:
  include/clang/Driver/Options.td
  lib/Basic/Targets/X86.cpp
  lib/Basic/Targets/X86.h
  test/CodeGen/attr-target-x86.c
  test/Preprocessor/predefined-arch-macros.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43394.134746.patch
Type: text/x-patch
Size: 21435 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180216/ca2300ff/attachment-0001.bin>


More information about the cfe-commits mailing list