diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-15 04:51:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-15 04:51:55 +0000 |
commit | c877d8f44c13963db39f7c2df9451c1106cdf16f (patch) | |
tree | 117b67203cec512f8942064057b0dd3653a38770 /llvm/utils/TableGen/CodeEmitterGen.cpp | |
parent | 0ae07e1484586fe6bb23f67a68647efeba1069f2 (diff) | |
download | bcm5719-llvm-c877d8f44c13963db39f7c2df9451c1106cdf16f.tar.gz bcm5719-llvm-c877d8f44c13963db39f7c2df9451c1106cdf16f.zip |
add basic encoding support for immediates and registers, allowing us
to encode all of these instructions correctly (for example):
mflr r0 ; encoding: [0x7c,0x08,0x02,0xa6]
stw r0, 8(r1) ; encoding: [0x90,0x01,0x00,0x08]
stwu r1, -64(r1) ; encoding: [0x94,0x21,0xff,0xc0]
llvm-svn: 119118
Diffstat (limited to 'llvm/utils/TableGen/CodeEmitterGen.cpp')
0 files changed, 0 insertions, 0 deletions