mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-05 11:46:42 +00:00
encode rdtsc correctly
llvm-svn: 24435
This commit is contained in:
parent
f4f66fafd9
commit
5d9ecff961
@ -167,10 +167,6 @@ class Ii32<bits<8> o, Format f, dag ops, string asm, list<dag> pattern>
|
||||
def PHI : I<0, Pseudo, (ops variable_ops), "PHINODE">; // PHI node.
|
||||
def NOOP : I<0x90, RawFrm, (ops), "nop">; // nop
|
||||
|
||||
//FIXME: encode this correctly
|
||||
let Defs = [EAX, EDX] in
|
||||
def RDTSC : I<0, Pseudo, (ops ), "rdtsc">; //in binary, this inst is 0x0f 0x31
|
||||
|
||||
def ADJCALLSTACKDOWN : I<0, Pseudo, (ops i32imm:$amt), "#ADJCALLSTACKDOWN">;
|
||||
def ADJCALLSTACKUP : I<0, Pseudo, (ops i32imm:$amt1, i32imm:$amt2),
|
||||
"#ADJCALLSTACKUP">;
|
||||
@ -1609,6 +1605,13 @@ def CMPSDrm : I<0xC2, MRMSrcMem,
|
||||
"cmp${cc}sd {$src, $dst|$dst, $src}">, XD;
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Miscellaneous Instructions
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
def RDTSC : I<0x31, RawFrm, (ops), "rdtsc">, TB, Imp<[],[EAX,EDX]>;
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Stack-based Floating point support
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
Loading…
x
Reference in New Issue
Block a user