Chris Lattner
33660426a5
Spill/restore X86 floating point stack registers with 64-bits of precision
...
instead of 80-bits of precision. This fixes PR467.
This change speeds up fldry on X86 with LLC from 7.32s on apoc to 4.68s.
llvm-svn: 18433
2004-12-02 18:17:31 +00:00
Chris Lattner
96b14e18bb
Consider 64-bit registers to be FP as well.
...
llvm-svn: 18432
2004-12-02 17:57:21 +00:00
Chris Lattner
fa83510f94
Document beta pass
...
llvm-svn: 18431
2004-12-02 17:20:17 +00:00
Reid Spencer
53c59689d1
Standardize the makefiles with space around = to match the rest of LLVM.
...
llvm-svn: 18429
2004-12-02 09:58:09 +00:00
Reid Spencer
f78508b25e
PR466:
...
* Make the linker find lib*.bca files now instead of lib*.bc since those
are what the makefiles now generate for bytecode archives.
* Make sure the linker only links archives when LinkLibraries is called.
Previously if it found a lib*.bc file and that file was a bytecode file,
it would link in the entire bytecode. This could make -lc -lc fail with
duplicate symbols error but it shouldn't as searching multiple libraries,
even the same one more than once, is permitted.
* Now that the above problems are corrected, implement the dependent libs
feature. After the module is linked with all specified libraries, the
LinkLibraries function will obtain the set of dependent libraries from
the linked modules and attemp to find and link against those libraries.
llvm-svn: 18428
2004-12-02 09:52:10 +00:00
Reid Spencer
d6dcad7745
Standardize the format of the runtime libraries makefiles.
...
* Don't have lines longer than 80 cols
* Blank line after the header
* Reduce spaces in var definitions.
llvm-svn: 18427
2004-12-02 09:31:40 +00:00
Reid Spencer
dbaac1ff17
For PR466:
...
Much of what this Makefile did to make a libcrtend.a file is now supported
by Makefile.rules when BYTECODE_LIBRARY=1 is specified. So, we've
simplified the make rules for building this library.
llvm-svn: 18426
2004-12-02 09:29:49 +00:00
Reid Spencer
32f7e42744
For PR466:
...
Change construction of bytecode libraries from producing a single bytecode
file to producing a library containing bytecode files. This gets around the
problem of multiple symbol definitions in the linker if something like
-lc -lc is attempted on the command line. Previously this happened because
the linker would find libc.bc as a "library". It will now find libc.a which
it can simply search for missing symbols instead of linking in wholesale.
llvm-svn: 18425
2004-12-02 09:28:21 +00:00
Reid Spencer
59d89f598c
Remove this left-over crud from the automake experiment.
...
llvm-svn: 18424
2004-12-02 09:23:51 +00:00
Reid Spencer
295a3bbb18
Implement file replacement correctly even with the f (TruncateNames) flag
...
set. The member name comparison was failing for truncated names. This patch
fixes that. Truncated names are now properly replaced.
llvm-svn: 18423
2004-12-02 09:21:55 +00:00
Reid Spencer
f473185cbc
Fix seriously broken implementation of GetMagicNumber.
...
llvm-svn: 18422
2004-12-02 09:09:48 +00:00
Reid Spencer
1c8a34ff77
Search for tclsh last so we don't find the FreeBSD warning script too early
...
llvm-svn: 18421
2004-12-02 07:31:22 +00:00
Reid Spencer
188a22fc14
Search for tclsh last so we don't find the FreeBSD warning script.
...
llvm-svn: 18420
2004-12-02 07:29:17 +00:00
Tanya Lattner
201e972dc4
Reworked branch adding in prologue. Added check for infinite loops which are not modulo scheduled.
...
llvm-svn: 18419
2004-12-02 07:22:15 +00:00
Chris Lattner
c0677c081d
Implement a FIXME by checking to make sure that a malloc is not being used
...
in scary and unknown ways before we promote it. This fixes the miscompilation
of 188.ammp that has been plauging us since a globalopt patch went in.
Thanks a ton to Tanya for helping me diagnose the problem!
llvm-svn: 18418
2004-12-02 07:11:07 +00:00
Chris Lattner
3b18139b3c
Fix a minor bug where we set a var to initialized on malloc, not on store.
...
This doesn't fix anything that I'm aware of, just noticed it by inspection
llvm-svn: 18417
2004-12-02 06:25:58 +00:00
Reid Spencer
7784c2f12e
Fix the tclsh test to find tclsh8.[34] and tclsh8.[34].X as well.
...
llvm-svn: 18415
2004-12-02 04:17:20 +00:00
Reid Spencer
8d61104f97
* Make sure the cache variable gets cached
...
* Don't search a bunch of .. directories for something we'd never find,
because we don't imbed tclsh into LLVM.
* Look for various tclsh versions because some platforms don't install the
tclsh link but just have tclsh8.3 or tclsh8.4 or some such.
llvm-svn: 18414
2004-12-02 04:15:24 +00:00
Chris Lattner
434f90ff2d
Remove dead field
...
llvm-svn: 18412
2004-12-02 02:35:38 +00:00
Chris Lattner
9cf32444bb
This program doesn't break anything anymore.
...
llvm-svn: 18411
2004-12-02 02:26:18 +00:00
Misha Brukman
3ae96e3727
Reid has implemented llvm-ranlib. Thanks, Reid!
...
llvm-svn: 18410
2004-12-01 21:07:40 +00:00
Misha Brukman
d0bb8bebc8
* Hyphenate ``constant-propagate''
...
* Add testing notes to the instruction section similar as for intrinsics
* Mention adding codegen support for new instructions
llvm-svn: 18409
2004-12-01 20:58:54 +00:00
Misha Brukman
e070ae69fc
Remove duplicated link to "Machine backend"
...
llvm-svn: 18408
2004-12-01 19:12:27 +00:00
Tanya Lattner
e94b466a8e
Reverting this patch:
...
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20041122/021428.html
It broke Mutlisource/Applications/obsequi
llvm-svn: 18407
2004-12-01 18:27:03 +00:00
Chris Lattner
e58bf09138
Initial support for packed types, contributed by Morten Ofstad
...
llvm-svn: 18406
2004-12-01 17:14:28 +00:00
Chris Lattner
9a43d294b9
Remove unneeded cast.
...
llvm-svn: 18405
2004-12-01 17:13:05 +00:00
Chris Lattner
cf2e128758
Get GEP's working with packed types. Contributed by Morten Ofstad!
...
llvm-svn: 18404
2004-12-01 17:12:16 +00:00
Chris Lattner
9812dbcc76
Add line # info
...
llvm-svn: 18403
2004-12-01 17:10:36 +00:00
John Criswell
51f8ded5e7
Fixed pathname to LLVM tools.
...
Thanks to Vladimir Merzliakov for finding this.
llvm-svn: 18402
2004-12-01 14:12:30 +00:00
Reid Spencer
f6a10fa333
Be a little more explicit about how to configure LLVM with the --prefix
...
option so that permissions errors don't occur if the default, /usr/local,
is taken.
llvm-svn: 18401
2004-12-01 05:15:44 +00:00
Chris Lattner
2a2ebd1829
Fix typeo, thanks to Duraid for pointing it out
...
llvm-svn: 18400
2004-12-01 04:16:29 +00:00
Reid Spencer
3f2352e23e
Revert version 1.39. It breaks the ordering of the library processing.
...
llvm-svn: 18399
2004-11-30 22:54:48 +00:00
Chris Lattner
798e0349c0
Do not let GCC emit a warning for INT64_MIN
...
llvm-svn: 18398
2004-11-30 21:33:58 +00:00
Brian Gaeke
86deaf2211
Sparcs behave better if we use <alloca.h> and avoid messing with __builtin_alloca.
...
llvm-svn: 18397
2004-11-30 21:27:01 +00:00
Tanya Lattner
33f621acf8
Added TCLSH var to site.exp.
...
llvm-svn: 18396
2004-11-30 19:13:06 +00:00
Chris Lattner
a6992ae74f
Move this from the C test suite
...
llvm-svn: 18395
2004-11-30 18:25:12 +00:00
Chris Lattner
bf3a546a5b
This is a c++ test
...
llvm-svn: 18394
2004-11-30 18:25:05 +00:00
Chris Lattner
3f9b831041
Add back -e, which apparently works in sh's echo but not tcsh's, which does
...
not need it. Also, grep some output so we know that this command does something.
llvm-svn: 18393
2004-11-30 17:47:13 +00:00
Chris Lattner
4114c7d87c
If TESTSUITE is set, we obviously want to run dejagnu
...
llvm-svn: 18392
2004-11-30 17:45:08 +00:00
Chris Lattner
56bac30683
Fix the JIT when being used from llvm-db
...
llvm-svn: 18391
2004-11-30 17:41:49 +00:00
Chris Lattner
f4b262a3ec
do not pass -e into llvm-db as a command.
...
llvm-svn: 18390
2004-11-30 17:13:13 +00:00
Chris Lattner
c7edfa52a4
Put the output in the temporary location
...
llvm-svn: 18389
2004-11-30 17:12:00 +00:00
Chris Lattner
3f6419949c
This is a cross platform fail, failing on freebsd as well
...
llvm-svn: 18388
2004-11-30 17:10:47 +00:00
Chris Lattner
951673a94c
This pass is completely broken.
...
llvm-svn: 18387
2004-11-30 17:09:06 +00:00
Chris Lattner
37a14496c5
RevisionNum is read by error(), initialize it early.
...
llvm-svn: 18386
2004-11-30 16:58:18 +00:00
Chris Lattner
d7f028e4e3
This was fixed with the recent tester changes.
...
llvm-svn: 18385
2004-11-30 16:48:26 +00:00
Brian Gaeke
5c9fa5bcee
Update list of failing benchmarks.
...
llvm-svn: 18384
2004-11-30 08:15:44 +00:00
Brian Gaeke
1d6b926ab6
If we're about to emit something like:
...
%f0 = fmovs %f0
%f1 = fmovs %f1
then just delete the FpMOVD pseudo-instruction instead. Also, add
statistics and debug printouts.
llvm-svn: 18383
2004-11-30 08:15:15 +00:00
Reid Spencer
105d4152d7
Add a check for the tclsh program needed by dejagnu. This can have weird
...
names that have version numbers in it so this macro, DJ_AC_PATH_TCLSH will
make the necessary checks. The makefile variable TCLSH is set to the path
found.
llvm-svn: 18382
2004-11-30 08:11:54 +00:00
Chris Lattner
019445715e
Squelch warning
...
llvm-svn: 18381
2004-11-30 07:47:34 +00:00