llvm-project/clang/test
Craig Topper 6673d69226 [X86] Don't imply -mprfchw when -m3dnow is specified. Enable prefetchw in the backend with 3dnow feature.
The PREFETCHW instruction was originally part of the 3DNow. But
it was given its own CPUID bit on later CPUs just before 3DNow
was deprecated.

We were setting the -mprfchw flag if -m3dnow was passed or the CPU
supported 3dnow unless -mno-prfchw was passed. But -march=native
on a CPU without the PRFCHW CPUID bit set will pass -mno-prfchw.
So -march=k8 will behave differently than -march=native on a K8
for example.

So remove this implicit setting from the frontend and instead
enable the backend to use PREFETCHW if 3dnow OR prfchw is enabled.

Also enable PRFCHW flag on amdfam10/barcelona which seems to be
where this CPUID bit was introduced. That CPU also supported
3dnow.
2020-06-25 12:46:52 -07:00
..
ARCMT
AST When performing a substitution into a dependent alias template, mark the 2020-06-23 14:43:04 -07:00
ASTMerge
Analysis [analyzer] Enable constructor support in evalCall event. 2020-06-25 09:47:13 -07:00
CXX DR458: Search template parameter scopes in the right order. 2020-06-23 17:14:33 -07:00
ClangScanDeps
CodeCompletion [Sema][CodeComplete][ObjC] Don't include arrow/dot fixits 2020-06-08 12:46:00 -04:00
CodeGen [sve][acle] Add some C intrinsics for brain float types. 2020-06-25 16:31:01 +00:00
CodeGenCUDA [CUDA][HIP] Fix constexpr variables for C++17 2020-06-03 21:56:52 -04:00
CodeGenCXX [clang codegen] Fix alignment of "Address" for incomplete array pointer. 2020-06-23 17:16:17 -07:00
CodeGenCoroutines [Coroutines] Ensure co_await promise.final_suspend() does not throw 2020-06-22 15:01:42 -07:00
CodeGenHIP [clang][amdgpu] Prefer not using `fp16` conversion intrinsics. 2020-06-16 10:21:56 -04:00
CodeGenObjC [ObjC] Copy a block to the heap if it is passed as a variadic argument 2020-06-24 11:46:38 -07:00
CodeGenObjCXX [os_log][test] Remove -O1 from a test, NFC 2020-06-01 16:54:16 -07:00
CodeGenOpenCL [AMDGPU] Add gfx1030 target 2020-06-15 16:18:05 -07:00
CodeGenOpenCLCXX [CGCall] Annotate references with "align" attribute. 2020-05-19 20:21:30 -07:00
CodeGenSYCL
Coverage
CoverageMapping
Driver [HIP] Improve check patterns to avoid test failures in case string "opt", etc. happens to be in the command path. 2020-06-25 12:18:43 -07:00
FixIt
Format
Frontend [Remarks] Add callsite locations to inline remarks 2020-06-20 23:32:10 -07:00
Headers [OpenMP][SYCL] Improve diagnosing of unsupported types usage 2020-05-29 18:00:48 +03:00
Import The type of a reference to a non-type template parameter pack should 2020-06-18 17:52:13 -07:00
Index [Sema][CodeComplete][ObjC] Don't split the first selector fragment 2020-06-25 13:58:27 -04:00
Integration
InterfaceStubs
Layout
Lexer [clang][slh] Add test for SLH feature checking macro 2020-05-15 12:23:31 -07:00
Misc [Clang] Add support for -Wno-inline-namespace-reopened-noninline 2020-06-25 18:48:50 +03:00
Modules [NFC] Make AST_BLOCK_HASH test more robust with downstream changes 2020-06-19 09:41:15 +01:00
OpenMP [OPENMP]Dynamic globalization for parallel target regions. 2020-06-25 08:25:24 -04:00
PCH Fix rejects-valid when referencing an implicit operator== from within a 2020-06-22 20:19:20 -07:00
Parser [PowerPC] Add support for vector bool __int128 for Power10 2020-06-23 21:25:56 -05:00
ParserSYCL
Preprocessor [X86] Don't imply -mprfchw when -m3dnow is specified. Enable prefetchw in the backend with 3dnow feature. 2020-06-25 12:46:52 -07:00
Profile Fix version of c-general.profdata.v5 test case 2020-06-10 16:20:20 +02:00
Refactor
Rewriter
Sema Fix a crash with [[clang::acquire_handle]] when written as a type 2020-06-25 08:45:32 -04:00
SemaCUDA Revert D80450 "[CUDA][HIP] Fix implicit HD function resolution" 2020-06-10 17:42:28 -07:00
SemaCXX [Coroutines] Handle dependent promise types for final_suspend non-throw check 2020-06-25 11:27:27 -07:00
SemaObjC [Matrix] Use 1st/2nd instead of first/second in matrix diags. 2020-06-25 11:55:03 +01:00
SemaObjCXX [SemaObjC] Fix a crash on invalid when 'auto' is used in a @property 2020-06-24 12:11:39 -04:00
SemaOpenCL [AMDGPU] Introduce Clang builtins to be mapped to AMDGCN atomic inc/dec intrinsics 2020-06-09 17:02:58 +00:00
SemaOpenCLCXX [AST][RecoveryExpr] Build recovery expressions by default for C++. 2020-06-12 15:21:38 +02:00
SemaSYCL [SYCL][OpenMP] Implement thread-local storage restriction 2020-06-17 14:36:00 +03:00
SemaTemplate When performing a substitution into a dependent alias template, mark the 2020-06-23 14:43:04 -07:00
TableGen
Templight
Tooling [Tooling] Drop leading/trailing whitespace from compile_flags.txt lines 2020-05-19 11:20:02 +02:00
Unit
VFS
clang-rename
utils/update_cc_test_checks [update_cc_test_checks.py] Handle C++ methods 2020-06-18 18:09:21 +01:00
.clang-format
CMakeLists.txt
TestRunner.sh
cxx-sections.data
lit.cfg.py [clang][driver] set macOS as the target OS for -arch arm64 when clang 2020-06-23 21:08:11 -07:00
lit.site.cfg.py.in [apple clang] disable in-process CC1 to preserve crashlog compatibility 2020-06-05 10:55:42 -07:00
make_test_dirs.pl