|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| 
| 
| | and each callee knows that it returns.
llvm-svn: 78742 | 
| | 
| 
| 
| | llvm-svn: 78219 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| | llvm-svn: 61715 | 
| | 
| 
| 
| 
| 
| | are a bit more complicate than I expected. Both declarations and weak definitions still need a stub indirection. However, the stubs are in data section and they contain the addresses of the actual symbols.
llvm-svn: 60571 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/xgcc -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/ -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/bin/ -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/lib/ -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/include -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/sys-include -DHAVE_CONFIG_H -I. -I../../../llvm-gcc.src/libgomp -I. -I../../../llvm-gcc.src/libgomp/config/posix -I../../../llvm-gcc.src/libgomp -Wall -pthread -Werror -O2 -g -O2 -MT barrier.lo -MD -MP -MF .deps/barrier.Tpo -c ../../../llvm-gcc.src/libgomp/barrier.c  -fno-common -DPIC -o .libs/barrier.o
checking for sys/file.h... /var/folders/zG/zGE-ZJOGFiGjv0B5cs5oYE+++TM/-Tmp-//cc34Jg5P.s:13:non-relocatable subtraction expression, "_gomp_tls_key" minus "L1$pb"
/var/folders/zG/zGE-ZJOGFiGjv0B5cs5oYE+++TM/-Tmp-//cc34Jg5P.s:13:symbol: "_gomp_tls_key" can't be undefined in a subtraction expression
make[4]: *** [barrier.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/xgcc -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/ -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/bin/ -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/lib/ -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/include -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/sys-include -DHAVE_CONFIG_H -I. -I../../../llvm-gcc.src/libgomp -I. -I../../../llvm-gcc.src/libgomp/config/posix -I../../../llvm-gcc.src/libgomp -Wall -pthread -Werror -O2 -g -O2 -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo -c ../../../llvm-gcc.src/libgomp/alloc.c -o alloc.o >/dev/null 2>&1
yes
checking for sys/param.h... make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libgomp] Error 2
make[1]: *** Waiting for unfinished jobs....
llvm-svn: 60527 | 
| | 
| 
| 
| 
| 
| | GOT or non-lazy-ptr.
llvm-svn: 60519 | 
| | 
| 
| 
| | llvm-svn: 51503 | 
| | 
| 
| 
| | llvm-svn: 47168 | 
| | 
| 
| 
| 
| 
| | that doesn't support it.  Per Chris.
llvm-svn: 47162 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | it follows the order of the enum, not alphabetical.
The motivation is to make -mattr=+ssse3,+sse41
select SSE41 as it ought to.  Added "ignored"
enum values of 0 to PPC and SPU to avoid compiler
warnings.
llvm-svn: 47143 | 
| | 
| 
| 
| 
| 
| 
| 
| | on 64-bit builds.  Analysis and original patch
by Török Edwin.  Code audit found another place
with the same problem, also fixed here.
llvm-svn: 45746 | 
| | 
| 
| 
| | llvm-svn: 45493 | 
| | 
| 
| 
| | llvm-svn: 45418 | 
| | 
| 
| 
| 
| 
| | Almost all occurrences of "bytecode" in the sources have been eliminated.
llvm-svn: 37913 | 
| | 
| 
| 
| 
| 
| | confusion with external linkage types.
llvm-svn: 33663 | 
| | 
| 
| 
| 
| 
| | just use the one that's in the subtarget.
llvm-svn: 33255 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | emitted for external globals in PPC64-JIT-PIC mode (which is good because
we didn't handle them before!).
This also fixes a bug handling the picbase delta, which we would get wrong
in some cases.
llvm-svn: 32451 | 
| | 
| 
| 
| | llvm-svn: 32333 | 
| | 
| 
| 
| 
| 
| | complete.
llvm-svn: 29156 | 
| | 
| 
| 
| | llvm-svn: 28837 | 
| | 
| 
| 
| 
| 
| | the target triple & subtarget info.  woo.
llvm-svn: 28835 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | support, and 64-bit register use are all consistent with each other.
Add a new "IsPPC" feature, to distinguish ppc32 vs ppc64 targets, use this
to configure TargetData differently.  This not makes ppc64 blow up on lots
of stuff :)
llvm-svn: 28825 | 
| | 
| 
| 
| 
| 
| | can in 32-bit mode we can choose to optionally *use* 64-bit registers.
llvm-svn: 28824 | 
| | 
| 
| 
| 
| 
| | that is currently just like ppc32 :)
llvm-svn: 28813 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | void foo(float a, int *b) { *b = a; }
to this:
_foo:
        fctiwz f0, f1
        stfiwx f0, 0, r4
        blr
instead of this:
_foo:
        fctiwz f0, f1
        stfd f0, -8(r1)
        lwz r2, -4(r1)
        stw r2, 0(r4)
        blr
This implements CodeGen/PowerPC/stfiwx.ll, and also incidentally does the
right thing for GCC bugzilla 26505.
llvm-svn: 26447 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | include static, pic,
dynamic-no-pic, and default.
PPC and x86 default is dynamic-no-pic for Darwin, pic for others.
- Removed options -enable-pic and -ppc-static.
llvm-svn: 26315 | 
| | 
| 
| 
| 
| 
| 
| 
| | // FIXME: revisit this when we have some kind of mechanism by which targets
    // can decided legality of vector constants, of which there may be very
    // many.
llvm-svn: 25733 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | gcc -static produces on PPC.  This is used for building kexts and other things.
With this, materializing the address of a global looks like:
        lis r2, ha16(L_H$non_lazy_ptr)
        la r3, lo16(L_H$non_lazy_ptr)(r2)
we're still emitting stubs for functions, which is wrong.  That is next.
llvm-svn: 24399 | 
| | 
| 
| 
| | llvm-svn: 24139 | 
| | 
| 
| 
| | llvm-svn: 24013 | 
| | 
| 
| 
| 
| 
| | CPU.
llvm-svn: 23974 | 
| | 
| 
| 
| | llvm-svn: 23909 | 
| | 
| 
| 
| | llvm-svn: 23870 | 
| | 
| 
| 
| 
| 
| 
| | option.  Currently the only way to enable this is to specify the
64bitregs mattr flag.  It is never enabled by default on any config yet.
llvm-svn: 23779 | 
| | 
| 
| 
| | llvm-svn: 23743 | 
| | 
| 
| 
| 
| 
| 
| 
| | '' is not a recognized processor for this target (ignoring processor)
Default to "generic" instead of "" for the default CPU.
llvm-svn: 23257 | 
| | 
| 
| 
| 
| 
| | generate the fun in-register fp<->long instructions.
llvm-svn: 23244 | 
| | 
| 
| 
| | llvm-svn: 23222 | 
| | 
| 
| 
| 
| 
| | Remove the -enable-gpopt option which is subsumed by feature flags.
llvm-svn: 23218 | 
| | 
| 
| 
| 
| 
| 
| 
| | 2. Propagate feature "string" to all targets.
3. Implement use of SubtargetFeatures in PowerPCTargetSubtarget.
llvm-svn: 23192 | 
| | 
| 
| 
| 
| 
| 
| 
| | depending on the command line option.  Now the command line option just
sets the subtarget as appropriate.  G5 opts will now default to on on
G5-enabled nightly testers among other machines.
llvm-svn: 22688 | 
| | 
| 
| 
| 
| 
| 
| | is available, since the target triple doesn't specify whether to use gpopts
or not.
llvm-svn: 22685 | 
|  | llvm-svn: 22644 |