X86: Flesh out 3dnow instruction decoding a bit and grab the byte immediate.

This commit is contained in:
Gabe Black 2008-06-12 00:48:46 -04:00
parent f58f99935a
commit dfc2d44ea3
2 changed files with 5 additions and 5 deletions

View file

@ -181,9 +181,9 @@
0x2: Inst::UD2(); 0x2: Inst::UD2();
0x3: Inst::UD2(); 0x3: Inst::UD2();
0x4: Inst::UD2(); 0x4: Inst::UD2();
0x5: threednow(); 0x5: prefetch();
0x6: threednow(); 0x6: FailUnimpl::femms();
0x7: threednow(); 0x7: FailUnimpl::threednow();
} }
0x02: decode LEGACY_DECODEVAL { 0x02: decode LEGACY_DECODEVAL {
// no prefix // no prefix

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2007 The Hewlett-Packard Development Company * Copyright (c) 2007-2008 The Hewlett-Packard Development Company
* All rights reserved. * All rights reserved.
* *
* Redistribution and use of this software in source and binary forms, * Redistribution and use of this software in source and binary forms,
@ -201,7 +201,7 @@ namespace X86ISA
//For two byte instructions //For two byte instructions
{ //LSB { //LSB
// MSB 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F // MSB 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F
/* 0 */ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , /* 0 */ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , BY ,
/* 0 */ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , /* 0 */ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ,
/* 2 */ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , /* 2 */ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ,
/* 3 */ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , /* 3 */ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ,