| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 73050
|
|
|
|
| |
llvm-svn: 72928
|
|
|
|
| |
llvm-svn: 72900
|
|
|
|
|
|
| |
this. The correct replacement for "Y" and "Yt" is "x".
llvm-svn: 72765
|
|
|
|
| |
llvm-svn: 72764
|
|
|
|
| |
llvm-svn: 72713
|
|
|
|
| |
llvm-svn: 72583
|
|
|
|
| |
llvm-svn: 72240
|
|
|
|
| |
llvm-svn: 72237
|
|
|
|
|
|
| |
accordingly.
llvm-svn: 71966
|
|
|
|
| |
llvm-svn: 71233
|
|
|
|
|
|
|
| |
- x86 target feature handling should not be feature complete, even if
the code quality is lacking.
llvm-svn: 71123
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Apologies for the extremely gross code duplication, I want to get
this working and then decide how to get this information out of the
back end.
- This replaces -m[no-]sse4[12] by -m[no-]sse4, it appears gcc
doesn't distinguish them?
- -msse, etc. now properly disable/enable related features.
- Don't always define __SSE3__...
- The main missing functionality bit here is that we don't initialize
the features based on the CPU for all -march options.
llvm-svn: 71117
|
|
|
|
|
|
|
|
|
| |
- Default to yonah on Darwin (to get SSE3).
- Default to Pentium4 (32-bit) and x86-64 (64-bit) on
non-Darwin. Welcome to the 21st century.
llvm-svn: 71069
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- This is a WIP...
- This adds -march= handling to the driver, and fixes the defaulting
of -mcpu on Darwin (which was using the wrong test).
Instead of handling -m{sse, ...} in the driver, pass them to clang-cc as
-target-feature [+-]name
In clang-cc, communicate with the (clang) target to discover the legal
features of a target, and the features which are enabled based on
-mcpu. This is currently hardcoded just enough to not be a feature
regression, we need to get this information from the backend's
TableGen information somehow.
This is used to construct the full list of features which are being
used, which is in turn used to initialize the predefines.
llvm-svn: 71061
|
|
|
|
| |
llvm-svn: 70774
|
|
|
|
| |
llvm-svn: 70773
|
|
|
|
|
|
| |
the enum along with some other data.
llvm-svn: 70114
|
|
|
|
|
|
| |
on armv* to be more compatible
llvm-svn: 69864
|
|
|
|
| |
llvm-svn: 69668
|
|
|
|
|
|
|
|
| |
Let me know if I messed up for some target. Note that for Windows, we
should be able to support it (MSVC supports "__declspec(thread)"), but
I'm pretty sure LLVM doesn't know how to generate the correct code.
llvm-svn: 69552
|
|
|
|
|
|
| |
non-glibc ones.
llvm-svn: 69528
|
|
|
|
|
|
|
|
|
|
| |
functions in glibc header files that use FP Stack inline asm which the
backend can't deal with (PR879).
This "fixes" PR3970 for linux. Other affected systems should do similar
things. Maybe this should just go to the general i386/x86-64 sections?
llvm-svn: 69527
|
|
|
|
|
|
|
|
|
|
| |
- Patch by Shantonu Sen (with a minor tweak to split out
getDarwin{OSX,IPhoneOS}Defines)!
- <rdar://problem/6776277> Need clang-cc/ccc-analyzer support for
-miphoneos-version-min
llvm-svn: 68815
|
|
|
|
| |
llvm-svn: 68589
|
|
|
|
| |
llvm-svn: 68582
|
|
|
|
|
|
| |
in C mode.
llvm-svn: 68520
|
|
|
|
|
|
|
|
|
|
|
| |
and are even set in C mode. As such, move them to Targets.cpp.
__OBJC_GC__ is also darwin specific, but seems reasonable to always
define it when in objc-gc mode.
This fixes rdar://6761450
llvm-svn: 68494
|
|
|
|
| |
llvm-svn: 68413
|
|
|
|
|
|
| |
string literals.
llvm-svn: 68363
|
|
|
|
|
|
|
|
|
|
|
| |
- Notably, set section on cfstring literal string data (for now, this
is done everywhere because it matches what we were already doing
for the CFString data itself)
- <rdar://problem/6599098> [irgen] linker requires objc string data
to go into cstring
llvm-svn: 68160
|
|
|
|
|
|
| |
by moving the general case to the generic x86-32 target.
llvm-svn: 68015
|
|
|
|
|
|
| |
- Patch by Ed Schoeten!
llvm-svn: 67527
|
|
|
|
|
|
|
|
| |
where
clang was defining "i386" even when in non-gnu mode.
llvm-svn: 67378
|
|
|
|
| |
llvm-svn: 67376
|
|
|
|
|
|
| |
can have language-specific defines.
llvm-svn: 67375
|
|
|
|
|
|
|
|
|
|
|
| |
and defining target-specific macros based on them (like __SSE3__ and
friends). After extensive discussion with Daniel, this work will need
driver support, which will translate things like -msse3 into a -mattr
feature. Until this work is done, the code in clang.cpp is disabled and
the X86TargetInfo ctor still defaults to SSE2. With these two things
changed, this code will work. PR3634
llvm-svn: 65966
|
|
|
|
|
|
|
| |
even though we still hard code sse2 for now. No support for 3dnow or sse4a,
but someone could add that if they desired.
llvm-svn: 65886
|
|
|
|
| |
llvm-svn: 65885
|
|
|
|
| |
llvm-svn: 65884
|
|
|
|
|
|
| |
constraints string. This will make it possible to support multi-character constraints. No functionality change (for now).
llvm-svn: 65696
|
|
|
|
| |
llvm-svn: 65414
|
|
|
|
|
|
|
| |
make sure objc2's nonfragile abi is enacted for Leopard too.
add -fobjc-gc-only flag to the image_info symbol.
llvm-svn: 65413
|
|
|
|
| |
llvm-svn: 65124
|
|
|
|
|
|
| |
to the LIBBUILTIN macro
llvm-svn: 64676
|
|
|
|
|
|
| |
like printf and malloc. Fixes PR3586
llvm-svn: 64566
|
|
|
|
| |
llvm-svn: 64557
|
|
|
|
| |
llvm-svn: 64553
|
|
|
|
|
|
|
|
|
|
| |
a target.
Make Preprocessor.cpp define a new __INTPTR_TYPE__ macro based on this.
On linux/32, set intptr_t to int, instead of long. This fixes PR3563.
llvm-svn: 64495
|
|
|
|
|
|
| |
abi for objective-c programs.
llvm-svn: 64386
|