One of the first major changes to make the work of JITting easier: adding
authorMisha Brukman <brukman+llvm@gmail.com>
Tue, 27 May 2003 22:32:38 +0000 (22:32 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Tue, 27 May 2003 22:32:38 +0000 (22:32 +0000)
commit6ddd9d87a7b3fec031620bbc2c4572d4160c1132
treea483372b2ea9cef6e2a179d2315fd70e96088023
parentb9dd8154b6f0c64c7e6703b11fa5d25e1375a8df
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
lib/Target/SparcV9/SparcV9Instr.def