Chris Lattner
2dbdf38808
This is the proper code for this method, thanks to Reid for getting CVS working
...
again.
llvm-svn: 18103
2004-11-22 16:54:54 +00:00
John Criswell
fbf58400ce
Moved into the poolalloc tree.
...
llvm-svn: 18102
2004-11-22 16:32:35 +00:00
Reid Spencer
7aa1c0b8fb
Implement a missing function called by JIT/Emitter.cpp but never defined.
...
NOTE: Its not clear that this implementation is correct.
CHRIS: Please review this!
llvm-svn: 18101
2004-11-22 12:38:36 +00:00
Brian Gaeke
c0c0b053e6
Add stub method for long shift codegen.
...
llvm-svn: 18100
2004-11-22 08:02:06 +00:00
Brian Gaeke
e9a2261d3b
Update to-do list.
...
llvm-svn: 18099
2004-11-22 08:02:05 +00:00
Chris Lattner
8909e6452a
Support targets that require stubs for external functions better
...
llvm-svn: 18098
2004-11-22 07:24:43 +00:00
Reid Spencer
df25e5b3bb
Fix a comment to imply the correct semantics.
...
llvm-svn: 18097
2004-11-22 02:58:47 +00:00
Reid Spencer
e83a2d3e5e
Make sure output goes in the temporary/output directory.
...
llvm-svn: 18096
2004-11-22 02:46:31 +00:00
Chris Lattner
1670e9e779
Initial checkin of the V9 relocation types
...
llvm-svn: 18095
2004-11-22 00:40:51 +00:00
Reid Spencer
0a06c973a6
* Undo previous commit that breaks the test.
...
* Correct the test to work when srcdir == objdir.
NOTE: Since multiple tests run from the same source archive and llvm-ranlib
changes the archive, these tests MUST work on a copy of the archive or else
this test corrupts the archive file subsequent tests or subsequent runs of
the test suite.
llvm-svn: 18094
2004-11-21 21:28:56 +00:00
Reid Spencer
a8ae492281
* Undo previous commit that breaks the test.
...
* Correct the test to work when srcdir == objdir.
NOTE: Since multiple tests run from the same source archive and llvm-ranlib
changes the archive, these tests MUST work on a copy of the archive or else
this test corrupts the archive file subsequent tests or subsequent runs of
the test suite.
llvm-svn: 18093
2004-11-21 21:22:56 +00:00
Reid Spencer
fb782d6e0a
First version of manual page for llvm-ld.
...
llvm-svn: 18092
2004-11-21 18:20:16 +00:00
John Criswell
4cb89f9420
Fixed another typo.
...
llvm-svn: 18091
2004-11-21 15:11:37 +00:00
John Criswell
a1b9970166
Corrected spelling mistakes.
...
llvm-svn: 18090
2004-11-21 14:58:12 +00:00
John Criswell
45001afef1
It looks like I'm fixing a spelling mistake, but I'm really trying to
...
replicate the CVS performance problems that Reid is seeing.
llvm-svn: 18089
2004-11-21 14:34:34 +00:00
Brian Gaeke
52bb1a0073
Implement setcc on longs.
...
llvm-svn: 18088
2004-11-21 08:11:28 +00:00
Brian Gaeke
3904c8ffec
Add all the rest of the ADD and SUB variants, some of which are important for
...
64-bit support.
llvm-svn: 18087
2004-11-21 07:13:17 +00:00
Brian Gaeke
cb0a971f8f
Support add, sub, mul, div, rem on longs/ulongs (latter 3 by emitting libcalls).
...
Add a big comment containing my notes on how to do setcc for longs/ulongs.
llvm-svn: 18086
2004-11-21 07:13:16 +00:00
Brian Gaeke
3b6aeefea6
Update to-do list.
...
llvm-svn: 18085
2004-11-21 07:13:15 +00:00
Nate Begeman
7ec36ad70f
Fix Shootout-C++/wc, which was broken by my recent changes to emit fewer
...
reg-reg copies. The necessary conditions for this bug are a GEP that is
used outside the basic block in which it is defined, whose components
other than the pointer are all constant zero, and where the use is
selected before the definition (backwards branch to successsor block).
llvm-svn: 18084
2004-11-21 05:14:06 +00:00
Chris Lattner
ed19f4fe7d
Fix a warning
...
llvm-svn: 18083
2004-11-21 04:42:32 +00:00
Chris Lattner
f4c8575535
There is no reason to emit function stubs for direct calls.
...
llvm-svn: 18082
2004-11-21 03:46:06 +00:00
Chris Lattner
596d18c8dd
Clean up DEBUG output
...
llvm-svn: 18081
2004-11-21 03:44:32 +00:00
Chris Lattner
ce43d636fe
Allow targets to avoid emitting a stub for EVERY lazily resolved call. In
...
most cases (e.g. direct calls) no stub is needed.
llvm-svn: 18080
2004-11-21 03:37:42 +00:00
Brian Gaeke
e07eb993d6
Fix extraStack calculation -- I think in fact it might be getting a bit *too*
...
much stack, but that's better than not enough, which leads to miscompilations.
Fix FP vaarg.
llvm-svn: 18079
2004-11-21 03:35:22 +00:00
Brian Gaeke
75580d2a09
Update list of failing benchmarks & to-do list.
...
llvm-svn: 18078
2004-11-21 03:35:21 +00:00
Chris Lattner
3765dc4ebd
Add another bit, to make the JIT a bit more efficient.
...
llvm-svn: 18077
2004-11-21 03:27:13 +00:00
Reid Spencer
a079db1911
Test archive built with GNU ar(1).
...
llvm-svn: 18076
2004-11-21 01:36:59 +00:00
Tanya Lattner
3781e5d5e0
Made dejagnu option lower case.
...
llvm-svn: 18075
2004-11-21 00:10:12 +00:00
Tanya Lattner
9ee9ff4ea2
Added the ability to run Dejagnu tests.
...
llvm-svn: 18074
2004-11-21 00:02:40 +00:00
Chris Lattner
6d1fb33657
ignore generated files
...
llvm-svn: 18073
2004-11-21 00:01:54 +00:00
Chris Lattner
3e3645938e
ignore generated files.
...
llvm-svn: 18072
2004-11-21 00:00:54 +00:00
Chris Lattner
32fb560b34
Ignore generated files
...
llvm-svn: 18071
2004-11-21 00:00:04 +00:00
Chris Lattner
34db55fe83
Ignore files
...
llvm-svn: 18070
2004-11-20 23:58:43 +00:00
Chris Lattner
d8c2739b24
Implement relocation support by adding a target independent resolver interface.
...
llvm-svn: 18069
2004-11-20 23:57:07 +00:00
Chris Lattner
4a340e281e
Remove all JIT specific code and switch the code generator over to emitting
...
relocations for global references.
llvm-svn: 18068
2004-11-20 23:55:15 +00:00
Chris Lattner
b9a44893e9
Implement the X86 JIT interfaces
...
llvm-svn: 18067
2004-11-20 23:54:33 +00:00
Chris Lattner
8e33311566
Describe the X86 target-specific relocations.
...
llvm-svn: 18066
2004-11-20 23:54:19 +00:00
Chris Lattner
3c20464ad7
We implement these interfaces
...
llvm-svn: 18065
2004-11-20 23:53:56 +00:00
Chris Lattner
37fc0d8b95
Adjust to changed interfaces
...
llvm-svn: 18064
2004-11-20 23:53:26 +00:00
Chris Lattner
53ea58d4c1
Change this interface a bit
...
llvm-svn: 18063
2004-11-20 23:52:43 +00:00
Tanya Lattner
8300ab6f15
Adding missing dg file.
...
llvm-svn: 18062
2004-11-20 23:51:38 +00:00
Chris Lattner
c6c7f2ac58
This method does not exist any longer.
...
llvm-svn: 18061
2004-11-20 23:51:03 +00:00
Chris Lattner
ebb79ba538
Add new methods that a target should implement
...
llvm-svn: 18060
2004-11-20 23:50:02 +00:00
Tanya Lattner
0b0300cb5d
Removing unnecessary copies. Use %p to reference them.
...
llvm-svn: 18059
2004-11-20 23:47:23 +00:00
Chris Lattner
62d04b04f0
Add missing #include
...
llvm-svn: 18058
2004-11-20 23:40:54 +00:00
Tanya Lattner
a2cf139875
Fixed assertion from triggering. We need to check if the commandline map is empty before checking if an arg exists.
...
llvm-svn: 18057
2004-11-20 23:35:20 +00:00
Reid Spencer
de847ecdaa
Cast the void* handle data member to HMODULE* to keep the VC++ compiler
...
happy. Thanks to Henrik Bach for pointing this out.
llvm-svn: 18056
2004-11-20 23:30:55 +00:00
Brian Gaeke
1805f32d5f
Support most cases of vaarg (except double).
...
llvm-svn: 18055
2004-11-20 22:50:42 +00:00
Brian Gaeke
e989dc883f
Update failing test cases & to-do list.
...
llvm-svn: 18054
2004-11-20 22:50:41 +00:00