- Sep 03, 2009
-
-
Evan Cheng authored
Reference to hidden symbols do not have to go through non-lazy pointer in non-pic mode. rdar://7187172. llvm-svn: 80904
-
Daniel Dunbar authored
llvm-svn: 80892
-
Evan Cheng authored
X86JITInfo::getLazyResolverFunction() should not read cpu id to determine whether sse is available. Just use consult subtarget. No functionality changes. llvm-svn: 80880
-
- Sep 02, 2009
-
-
Chris Lattner authored
conditional moves as a subtarget feature. This is the easy part of PR4841. llvm-svn: 80763
-
- Aug 28, 2009
-
-
Anton Korobeynikov authored
Some other minor win64 fixes as well. Patch by Michael Beck! llvm-svn: 80370
-
- Aug 12, 2009
-
-
Chris Lattner authored
instead of X86 Subtarget. This elimianates dependencies on X86Subtarget from X86TAI. llvm-svn: 78746
-
- Aug 05, 2009
-
-
Daniel Dunbar authored
llvm-svn: 78219
-
- Aug 03, 2009
-
-
Bill Wendling authored
- Tidy up some headers. llvm-svn: 77929
-
Daniel Dunbar authored
Module*. Also, dropped uses of TargetMachine where unnecessary. The only target which still takes a TargetMachine& is Mips, I would appreciate it if someone would normalize this to match other targets. llvm-svn: 77918
-
- Jul 19, 2009
-
-
Daniel Dunbar authored
llvm-svn: 76356
-
- Jul 17, 2009
-
-
Evan Cheng authored
GV with ghost linkage (module being lazily streamed in in JIT lazy compilation mode) do not require extra load from stub. This fixes ExecutionEngine/2005-12-02-TailCallBug.ll. llvm-svn: 76121
-
- Jul 10, 2009
-
-
Chris Lattner authored
llvm-svn: 75277
-
Chris Lattner authored
llvm-svn: 75276
-
Chris Lattner authored
llvm-svn: 75275
-
Chris Lattner authored
llvm-svn: 75274
-
Chris Lattner authored
add a couple of predicates to test for "stub style pic in PIC mode" and "stub style pic in dynamic-no-pic" mode. llvm-svn: 75273
-
Chris Lattner authored
elimiantes the last use of GVRequiresExtraLoad, so delete it. llvm-svn: 75244
-
Chris Lattner authored
need for other purposes. llvm-svn: 75243
-
Chris Lattner authored
is just a trivial wrapper around "ClassifyGlobalReference", which stole a ton of logic from LowerGlobalAddress. llvm-svn: 75237
-
Chris Lattner authored
llvm-svn: 75232
-
Chris Lattner authored
more complex and slow than just directly testing what we care about. llvm-svn: 75231
-
Chris Lattner authored
split its handling out to PCRelGVRequiresExtraLoad, and simplify code based on this. llvm-svn: 75230
-
Chris Lattner authored
llvm-svn: 75229
-
- Jul 09, 2009
-
-
Chris Lattner authored
in pic or dynamic-no-pic mode. Also, x86-64 never used picstylegot. llvm-svn: 75101
-
Chris Lattner authored
with DLLImport symbols even when in -static mode. llvm-svn: 75093
-
- Jun 27, 2009
-
-
David Greene authored
Add feature flags for AVX and FMA and fix some SSE4A feature flag initialization problems. llvm-svn: 74350
-
- Jun 09, 2009
-
-
Anton Korobeynikov authored
ABI. The missing piece is support for putting "homogeneous aggregates" into registers. Patch by Sandeep Patel! llvm-svn: 73095
-
- May 26, 2009
-
-
Stefanus Du Toit authored
- added processors k8-sse3, opteron-sse3, athlon64-sse3, amdfam10, and barcelona with appropriate sse3/4a levels - added FeatureSSE4A for amdfam10 processors in X86Subtarget: - added hasSSE4A - updated AutoDetectSubtargetFeatures to detect SSE4A - updated GetCurrentX86CPU to detect family 15 with sse3 as k8-sse3 and family 10h as amdfam10 New processor names match those used by gcc. Patch by Paul Redmond! llvm-svn: 72434
-
- May 20, 2009
-
-
Evan Cheng authored
llvm-svn: 72160
-
- Apr 25, 2009
-
-
Chris Lattner authored
Nicolas Capens! llvm-svn: 70057
-
- Mar 07, 2009
-
-
Duncan Sands authored
and extern_weak_odr. These are the same as the non-odr versions, except that they indicate that the global will only be overridden by an *equivalent* global. In C, a function with weak linkage can be overridden by a function which behaves completely differently. This means that IP passes have to skip weak functions, since any deductions made from the function definition might be wrong, since the definition could be replaced by something completely different at link time. This is not allowed in C++, thanks to the ODR (One-Definition-Rule): if a function is replaced by another at link-time, then the new function must be the same as the original function. If a language knows that a function or other global can only be overridden by an equivalent global, it can give it the weak_odr linkage type, and the optimizers will understand that it is alright to make deductions based on the function body. The code generators on the other hand map weak and weak_odr linkage to the same thing. llvm-svn: 66339
-
- Feb 28, 2009
-
-
Mon P Wang authored
llvm-svn: 65662
-
- Feb 03, 2009
-
-
Dan Gohman authored
is given, override the subtarget settings and enable 64-bit support. This restores the earlier behavior, and fixes regressions on Non-64-bit-capable x86-32 hosts. This isn't necessarily the best approach, but the most obvious alternative is to require -mcpu=x86-64 or -mattr=+64bit to be used with -march=x86-64 when the host doesn't have 64-bit support. This makes things little more consistent, but it's less convenient, and it has the practical drawback of requiring lots of test changes, so I opted for the above approach for now. llvm-svn: 63642
-
Dan Gohman authored
SSE2, however it's possible to disable SSE2, and the subtarget support code thinks that if 64-bit implies SSE2 and SSE2 is disabled then 64-bit should also be disabled. Instead, just mark all the 64-bit subtargets as explicitly supporting SSE2. Also, move the code that makes -march=x86-64 enable 64-bit support by default to only apply when there is no explicit subtarget. If you need to specify a subtarget and you want 64-bit code, you'll need to select a subtarget that supports 64-bit code. llvm-svn: 63575
-
- Feb 02, 2009
-
-
Torok Edwin authored
Add an assert to check HasX86_64 status. llvm-svn: 63552
-
Torok Edwin authored
llvm-svn: 63542
-
- Feb 01, 2009
-
-
Torok Edwin authored
var-args, and don't allow FP return values llvm-svn: 63495
-
- Jan 25, 2009
-
-
Torok Edwin authored
llvm-svn: 62973
-
Torok Edwin authored
for example in the case of va-args. XFAIL associated tests. llvm-svn: 62972
-
Torok Edwin authored
llvm-svn: 62967
-