| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | * Institute a hack for the Sparc call to mmap() to get our generated code to be | Misha Brukman | 2003-06-04 | 1 | -10/+16 |
| | | | | | | | | | | | | laid out closer to the VM so that calls to library functions (e.g. puts()) and callback (e.g. JITResolver::CompilationCallback) fit into 30 bits of the call instruction. * Abort if architecture is not yet supported (not X86 or Sparc) because it likely requires a different set of parameters to mmap() . * Stop using hard-coded values for page size; use sysconf(_SC_PAGESIZE) instead. llvm-svn: 6610 | ||||
| * | Make writeNumber() void. Get ready to decouple it from .byte directive output. | Brian Gaeke | 2003-06-04 | 1 | -4/+9 |
| | | | | | llvm-svn: 6609 | ||||
| * | Modify tracing rules to use opt -trace[m] instead of llc -trace[m]. | Vikram S. Adve | 2003-06-04 | 1 | -2/+3 |
| | | | | | llvm-svn: 6607 | ||||
| * | Made changes suggested by Chris | Sumant Kowshik | 2003-06-04 | 2 | -53/+57 |
| | | | | | llvm-svn: 6606 | ||||
| * | Made changes suggested by Chris; Renamed 'union' function to unionSetsWith | Sumant Kowshik | 2003-06-04 | 1 | -11/+7 |
| | | | | | llvm-svn: 6605 | ||||
| * | Clean up previous code. | Chris Lattner | 2003-06-04 | 1 | -11/+20 |
| | | | | | | | Add new combination to turn seteq X, 0 -> not(cast X to bool) llvm-svn: 6604 | ||||
| * | Add new setCondition member | Chris Lattner | 2003-06-04 | 1 | -4/+6 |
| | | | | | llvm-svn: 6603 | ||||
| * | I have finally seen the light. The code to change the opcode must live higher in | Misha Brukman | 2003-06-04 | 1 | -4/+13 |
| | | | | | | | | | | | | the loop, and in both cases. In the first case, it is a VReg that is a constant so it may be actually converted to a constant. In the second case, it is already a constant, but then if it doesn't change its type (e.g. to become a register and have the value loaded from memory if it is too large to live in its instruction field), we must change the opcode BEFORE the 'continue', otherwise we miss the opportunity. llvm-svn: 6602 | ||||
| * | Added the 4.7 instruction class and all the FMOVcc instructions in them. | Misha Brukman | 2003-06-04 | 2 | -37/+130 |
| | | | | | llvm-svn: 6601 | ||||
| * | Modernize testcase | Chris Lattner | 2003-06-04 | 1 | -8/+8 |
| | | | | | llvm-svn: 6600 | ||||
| * | Implement combination of boolean not with branch | Chris Lattner | 2003-06-04 | 1 | -0/+14 |
| | | | | | llvm-svn: 6599 | ||||
| * | Add new test for inverting branches | Chris Lattner | 2003-06-04 | 1 | -0/+10 |
| | | | | | llvm-svn: 6598 | ||||
| * | Comment out opcodes currently unused in the Sparc backend. | Misha Brukman | 2003-06-04 | 1 | -0/+3 |
| | | | | | llvm-svn: 6597 | ||||
| * | No really, you _cannot use_ getelementptr on an unsized type: that makes | Chris Lattner | 2003-06-04 | 1 | -5/+1 |
| | | | | | | | no sense. llvm-svn: 6595 | ||||
| * | Added instruction format class 3.15 and floating-point compare instructions. | Misha Brukman | 2003-06-04 | 2 | -11/+22 |
| | | | | | llvm-svn: 6594 | ||||
| * | Undo one of those last fixes -- it was incorrect. | Vikram S. Adve | 2003-06-04 | 1 | -3/+5 |
| | | | | | llvm-svn: 6593 | ||||
| * | Sparc's dlsym() requires the special operand RTLD_SELF to find a symbol in the | Misha Brukman | 2003-06-04 | 1 | -0/+4 |
| | | | | | | | currently-running process. llvm-svn: 6592 | ||||
| * | Avoid generating a getelementptr instruction of a function | Chris Lattner | 2003-06-04 | 1 | -1/+1 |
| | | | | | llvm-svn: 6591 | ||||
| * | Pass through the emitConstantPool() call to the real emitter. | Misha Brukman | 2003-06-03 | 1 | -0/+4 |
| | | | | | llvm-svn: 6590 | ||||
| * | Make the write*map methods more self-contained. Document some more. | Brian Gaeke | 2003-06-03 | 1 | -42/+57 |
| | | | | | llvm-svn: 6589 | ||||
| * | Improved how tracing can be used: | Vikram S. Adve | 2003-06-03 | 1 | -4/+10 |
| | | | | | | | | -- added new targets %.trace-out-llc and %.trace-out-cbe -- either TRACE=yes or TRACEM=yes is still needed and chooses how to trace llvm-svn: 6585 | ||||
| * | Minor cleanups: | Chris Lattner | 2003-06-03 | 1 | -52/+29 |
| | | | | | | | | | * Document the MOTy namespace correctly for doxygen * Eliminate usage of the MachineOpCode typedef, which should eventually be eliminated entirely. llvm-svn: 6584 | ||||
| * | Remove usage of typedef | Chris Lattner | 2003-06-03 | 1 | -4/+2 |
| | | | | | llvm-svn: 6583 | ||||
| * | Remove use of enum | Chris Lattner | 2003-06-03 | 1 | -4/+4 |
| | | | | | llvm-svn: 6582 | ||||
| * | Add namespace comments for doxygen | Chris Lattner | 2003-06-03 | 2 | -5/+6 |
| | | | | | llvm-svn: 6581 | ||||
| * | There are now no uses of NonCopyableV | Chris Lattner | 2003-06-03 | 1 | -11/+0 |
| | | | | | llvm-svn: 6580 | ||||
| * | Add doxygen comment for namespace | Chris Lattner | 2003-06-03 | 1 | -1/+4 |
| | | | | | llvm-svn: 6579 | ||||
| * | Add comment for doxygen for namespace | Chris Lattner | 2003-06-03 | 1 | -0/+4 |
| | | | | | llvm-svn: 6578 | ||||
| * | Minor cleanups: | Chris Lattner | 2003-06-03 | 1 | -26/+36 |
| | | | | | | | | | * LLVM #include should use "", not <> * Fix line wrapping * Remove noncopyable base class to improve doxygen output llvm-svn: 6577 | ||||
| * | Remove noncopyable base class as it was making the doxygen docs harder to read | Chris Lattner | 2003-06-03 | 1 | -2/+3 |
| | | | | | llvm-svn: 6576 | ||||
| * | Remove noncopyableV base classes, as they were confusing the doxygen ↵ | Chris Lattner | 2003-06-03 | 4 | -10/+19 |
| | | | | | | | | | documentation, making it harder to read. llvm-svn: 6575 | ||||
| * | I documented this file, in an attempt to understand it, with a view toward | Brian Gaeke | 2003-06-03 | 1 | -56/+73 |
| | | | | | | | | | | | | rewriting it. I also vacuumed out all the commented-out code and inaccurate comments, etc. (We need to put the mapping information in a data structure so that we can pass it out to the JIT, instead of automagically converting it to .byte directives.) llvm-svn: 6574 | ||||
| * | Spiff up options a bit | Chris Lattner | 2003-06-03 | 1 | -2/+3 |
| | | | | | llvm-svn: 6573 | ||||
| * | Use the new -o tablegen option | Chris Lattner | 2003-06-03 | 1 | -4/+1 |
| | | | | | llvm-svn: 6572 | ||||
| * | Add -o support for TableGen | Chris Lattner | 2003-06-03 | 1 | -4/+25 |
| | | | | | | | | I figure that misha has done a lot of things on my todo list, the least I can do is reciprocate a bit. :) llvm-svn: 6571 | ||||
| * | Make tablegen use more structured command line options | Chris Lattner | 2003-06-03 | 1 | -16/+33 |
| | | | | | llvm-svn: 6570 | ||||
| * | Fix minor bug | Chris Lattner | 2003-06-03 | 1 | -2/+2 |
| | | | | | llvm-svn: 6569 | ||||
| * | Constants are laid out in memory in PC-relative form. | Misha Brukman | 2003-06-03 | 1 | -1/+1 |
| | | | | | llvm-svn: 6568 | ||||
| * | Added opcode conversion for conditional move of integers. | Misha Brukman | 2003-06-03 | 1 | -0/+50 |
| | | | | | llvm-svn: 6567 | ||||
| * | * Convert load/store opcodes from register to immediate forms. | Misha Brukman | 2003-06-03 | 1 | -9/+11 |
| | | | | | | | * Stop code from wrapping to the next line. llvm-svn: 6566 | ||||
| * | Convert load/store opcodes from register to immediate forms, if necessary. | Misha Brukman | 2003-06-03 | 1 | -4/+13 |
| | | | | | llvm-svn: 6565 | ||||
| * | Store instructions are different from other Format 3.1/3.2 instructions in that | Misha Brukman | 2003-06-03 | 2 | -7/+43 |
| | | | | | | | | they prefer the destination register to be last. Thus, two new classes were made for them that accomodate for having this layout of operands (F3_1rd, F3_2rd). llvm-svn: 6564 | ||||
| * | Moved code to modify the opcode from 'reg' to 'imm' form to a more logical ↵ | Misha Brukman | 2003-06-03 | 1 | -15/+6 |
| | | | | | | | place. llvm-svn: 6563 | ||||
| * | * Added section A.34: Move FP register on int reg condition (FMOVr) | Misha Brukman | 2003-06-03 | 1 | -13/+42 |
| | | | | | | | | * Labeled sections that are not currently used in the Sparc backend as not requiring completion at this time. llvm-svn: 6562 | ||||
| * | * Removed unused classes (rd field is always mentioned last); fixed comments. | Misha Brukman | 2003-06-03 | 1 | -38/+34 |
| | | | | | | | | * Added instruction classes which start building from rs1, then rs2, and rd. * Fixed order of operands in classes 4.1 and 4.2; added 4.6 . llvm-svn: 6561 | ||||
| * | * Removed unused classes: the rd field is always mentioned as the last reg. | Misha Brukman | 2003-06-03 | 1 | -57/+19 |
| | | | | | | | | | | * Added new classes which start building from rs1, adding rs2, and then rd. * Fixed order of operands in classes 3.11, 3.12, 3.16, and 3.17 . * Fixed comments to reflect Real Life (tm). * Removed "don't care" commented out assignments and dead classes (#if 0). llvm-svn: 6560 | ||||
| * | The rd field goes after the immediate field in format 2.1 instructions. | Misha Brukman | 2003-06-03 | 1 | -2/+1 |
| | | | | | llvm-svn: 6559 | ||||
| * | Removing personal name from source code. | Misha Brukman | 2003-06-03 | 1 | -1/+1 |
| | | | | | llvm-svn: 6558 | ||||
| * | Added the `to' keyword as in `cast <type> <data> to <type>'. | Misha Brukman | 2003-06-03 | 1 | -7/+4 |
| | | | | | | | Cleaned up the header of the file (comments/description/etc). llvm-svn: 6557 | ||||
| * | * Added the `to' keyword, as in `cast <type> <data> to <type>'. | Misha Brukman | 2003-06-03 | 1 | -8/+8 |
| | | | | | | | | * Gave the file a maintainer. * Cleaned up the layout somewhat. llvm-svn: 6556 | ||||

