aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineCodeEmitter.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-05-27 22:32:38 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-05-27 22:32:38 +0000
commit6ddd9d87a7b3fec031620bbc2c4572d4160c1132 (patch)
treea483372b2ea9cef6e2a179d2315fd70e96088023 /lib/CodeGen/MachineCodeEmitter.cpp
parentb9dd8154b6f0c64c7e6703b11fa5d25e1375a8df (diff)
One of the first major changes to make the work of JITting easier: adding
annotations on instructions to specify which format they are (i.e., do they take 2 registers and 1 immediate or just 3 registers) as that changes their binary representation and hence, code emission. This makes instructions more like how X86 defines them to be. Now, writers of instruction selection must choose the correct opcode based on what instruction type they are building, which they already know. Thus, the JIT doesn't have to do the same work by `discovering' which operands an instruction really has. As this involves lots of small changes to a lot of files in lib/target/Sparc, I'll commit them individually because otherwise the diffs will be unreadable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6371 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineCodeEmitter.cpp')
0 files changed, 0 insertions, 0 deletions