25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: cpu_alpha_instr.c,v 1.13 2006/07/26 23:21:47 debug Exp $ |
* $Id: cpu_alpha_instr.c,v 1.14 2006/08/21 17:02:36 debug Exp $ |
29 |
* |
* |
30 |
* Alpha instructions. |
* Alpha instructions. |
31 |
* |
* |
597 |
|
|
598 |
|
|
599 |
/* |
/* |
600 |
|
* implver: Return CPU implver value. |
601 |
|
* |
602 |
|
* arg[0] = pointer to destination uint64_t |
603 |
|
*/ |
604 |
|
X(implver) |
605 |
|
{ |
606 |
|
reg(ic->arg[0]) = cpu->cd.alpha.cpu_type.implver; |
607 |
|
} |
608 |
|
|
609 |
|
|
610 |
|
/* |
611 |
* mull: Signed Multiply 32x32 => 32. |
* mull: Signed Multiply 32x32 => 32. |
612 |
* |
* |
613 |
* arg[0] = pointer to destination uint64_t |
* arg[0] = pointer to destination uint64_t |
1004 |
case 0xc8: ic->f = instr(xornot_imm); break; |
case 0xc8: ic->f = instr(xornot_imm); break; |
1005 |
case 0xe4: ic->f = instr(cmovle_imm); break; |
case 0xe4: ic->f = instr(cmovle_imm); break; |
1006 |
case 0xe6: ic->f = instr(cmovgt_imm); break; |
case 0xe6: ic->f = instr(cmovgt_imm); break; |
1007 |
|
case 0xec: ic->f = instr(implver); break; |
1008 |
default:fatal("[ Alpha: unimplemented function 0x%03x for" |
default:fatal("[ Alpha: unimplemented function 0x%03x for" |
1009 |
" opcode 0x%02x ]\n", func, opcode); |
" opcode 0x%02x ]\n", func, opcode); |
1010 |
goto bad; |
goto bad; |