Commit Graph

15695 Commits

Author SHA1 Message Date
Tanya Lattner 94556b33eb Changed to catch stderror of dejagnu and fixed missing quote.
llvm-svn: 18105
2004-11-22 17:16:01 +00:00
Chris Lattner 22ce929332 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 41509625a0 Moved into the poolalloc tree.
llvm-svn: 18102
2004-11-22 16:32:35 +00:00
Reid Spencer 3c51c6c533 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 dd10ba214e Add stub method for long shift codegen.
llvm-svn: 18100
2004-11-22 08:02:06 +00:00
Brian Gaeke d1502c5c5d Update to-do list.
llvm-svn: 18099
2004-11-22 08:02:05 +00:00
Chris Lattner 50c2e117b3 Support targets that require stubs for external functions better
llvm-svn: 18098
2004-11-22 07:24:43 +00:00
Reid Spencer db372c707b Fix a comment to imply the correct semantics.
llvm-svn: 18097
2004-11-22 02:58:47 +00:00
Reid Spencer 4aa5f67a2e Make sure output goes in the temporary/output directory.
llvm-svn: 18096
2004-11-22 02:46:31 +00:00
Chris Lattner 96304f816f Initial checkin of the V9 relocation types
llvm-svn: 18095
2004-11-22 00:40:51 +00:00
Reid Spencer d0572b45b1 * 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 687b0fa8fb * 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 3f4f1e3511 First version of manual page for llvm-ld.
llvm-svn: 18092
2004-11-21 18:20:16 +00:00
John Criswell e965bcd10e Fixed another typo.
llvm-svn: 18091
2004-11-21 15:11:37 +00:00
John Criswell 8f002b6b50 Corrected spelling mistakes.
llvm-svn: 18090
2004-11-21 14:58:12 +00:00
John Criswell a9f34caf42 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 29a4b354a3 Implement setcc on longs.
llvm-svn: 18088
2004-11-21 08:11:28 +00:00
Brian Gaeke 8ab27507fd 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 46cdc9e043 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 07ef7e0ae1 Update to-do list.
llvm-svn: 18085
2004-11-21 07:13:15 +00:00
Nate Begeman 6c9375b20c 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 f530831f84 Fix a warning
llvm-svn: 18083
2004-11-21 04:42:32 +00:00
Chris Lattner d68ebaacc0 There is no reason to emit function stubs for direct calls.
llvm-svn: 18082
2004-11-21 03:46:06 +00:00
Chris Lattner 9de8e2225f Clean up DEBUG output
llvm-svn: 18081
2004-11-21 03:44:32 +00:00
Chris Lattner 65f6638822 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 016bd3ba11 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 83189cdff3 Update list of failing benchmarks & to-do list.
llvm-svn: 18078
2004-11-21 03:35:21 +00:00
Chris Lattner 75178bfaea Add another bit, to make the JIT a bit more efficient.
llvm-svn: 18077
2004-11-21 03:27:13 +00:00
Reid Spencer 19bea847bc Test archive built with GNU ar(1).
llvm-svn: 18076
2004-11-21 01:36:59 +00:00
Tanya Lattner 72aca859c2 Made dejagnu option lower case.
llvm-svn: 18075
2004-11-21 00:10:12 +00:00
Tanya Lattner c3d696fe04 Added the ability to run Dejagnu tests.
llvm-svn: 18074
2004-11-21 00:02:40 +00:00
Chris Lattner 894bf8eed0 ignore generated files
llvm-svn: 18073
2004-11-21 00:01:54 +00:00
Chris Lattner aee9a76f52 ignore generated files.
llvm-svn: 18072
2004-11-21 00:00:54 +00:00
Chris Lattner 5c8c75fbe5 Ignore generated files
llvm-svn: 18071
2004-11-21 00:00:04 +00:00
Chris Lattner fed24b6b04 Ignore files
llvm-svn: 18070
2004-11-20 23:58:43 +00:00
Chris Lattner 60d815a18b Implement relocation support by adding a target independent resolver interface.
llvm-svn: 18069
2004-11-20 23:57:07 +00:00
Chris Lattner d02c9eb697 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 b7e72cba22 Implement the X86 JIT interfaces
llvm-svn: 18067
2004-11-20 23:54:33 +00:00
Chris Lattner 8f2ed923ea Describe the X86 target-specific relocations.
llvm-svn: 18066
2004-11-20 23:54:19 +00:00
Chris Lattner 8c645ec0d3 We implement these interfaces
llvm-svn: 18065
2004-11-20 23:53:56 +00:00
Chris Lattner 5f3d274f5f Adjust to changed interfaces
llvm-svn: 18064
2004-11-20 23:53:26 +00:00
Chris Lattner 292bb60053 Change this interface a bit
llvm-svn: 18063
2004-11-20 23:52:43 +00:00
Tanya Lattner f3c3ba6b7a Adding missing dg file.
llvm-svn: 18062
2004-11-20 23:51:38 +00:00
Chris Lattner 374301ecb9 This method does not exist any longer.
llvm-svn: 18061
2004-11-20 23:51:03 +00:00
Chris Lattner e7322e2ee9 Add new methods that a target should implement
llvm-svn: 18060
2004-11-20 23:50:02 +00:00
Tanya Lattner 017b0ec39b Removing unnecessary copies. Use %p to reference them.
llvm-svn: 18059
2004-11-20 23:47:23 +00:00
Chris Lattner 858d87b907 Add missing #include
llvm-svn: 18058
2004-11-20 23:40:54 +00:00
Tanya Lattner d27b014459 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 9afecaf4ff 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 a8ea7d9cdb Support most cases of vaarg (except double).
llvm-svn: 18055
2004-11-20 22:50:42 +00:00