| Previous | 199869 Revisions | Next |
| r31345 Monday 21st July, 2014 at 01:02:07 UTC by Carl |
|---|
| i386: this seemed to be the consensus, anyone else (judge, micko?) need adding? (nw) |
| [src/emu/cpu/i386] | cycles.h i386.c i386.h i386dasm.c i386op16.inc i386op32.inc i386ops.h i386ops.inc i386priv.h i486ops.inc pentops.inc x87ops.inc |
| r31344 | r31345 | |
|---|---|---|
| 1 | ||
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Ville Linde, Barry Rodewald, Carl, Phil Bennett | |
| 2 | 3 | #define OP_I386 0x1 |
| 3 | 4 | #define OP_FPU 0x2 |
| 4 | 5 | #define OP_I486 0x4 |
| r31344 | r31345 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Ville Linde, Barry Rodewald, Carl, Phil Bennett | |
| 1 | 3 | UINT8 i386_device::i386_shift_rotate8(UINT8 modrm, UINT32 value, UINT8 shift) |
| 2 | 4 | { |
| 3 | 5 | UINT32 src = value & 0xff; |
| r31344 | r31345 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Ville Linde, Barry Rodewald, Carl, Phil Bennett | |
| 1 | 3 | // Intel 486+ specific opcodes |
| 2 | 4 | |
| 3 | 5 | void i386_device::i486_cpuid() // Opcode 0x0F A2 |
| r31344 | r31345 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Ville Linde, Barry Rodewald, Carl, Phil Bennett | |
| 1 | 3 | UINT32 i386_device::i386_shift_rotate32(UINT8 modrm, UINT32 value, UINT8 shift) |
| 2 | 4 | { |
| 3 | 5 | UINT32 dst, src; |
| r31344 | r31345 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Ville Linde, Barry Rodewald, Carl, Phil Bennett | |
| 1 | 3 | UINT16 i386_device::i386_shift_rotate16(UINT8 modrm, UINT32 value, UINT8 shift) |
| 2 | 4 | { |
| 3 | 5 | UINT32 src = value & 0xffff; |
| r31344 | r31345 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Ville Linde, Barry Rodewald, Carl, Phil Bennett | |
| 3 | ||
| 1 | 4 | #pragma once |
| 2 | 5 | |
| 3 | 6 | #ifndef __CYCLES_H__ |
| r31344 | r31345 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Ville Linde, Barry Rodewald, Carl, Phil Bennett | |
| 1 | 3 | /* |
| 2 | 4 | Intel 386 emulator |
| 3 | 5 |
| r31344 | r31345 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Ville Linde, Barry Rodewald, Carl, Phil Bennett | |
| 1 | 3 | #pragma once |
| 2 | 4 | |
| 3 | 5 | #ifndef __I386INTF_H__ |
| r31344 | r31345 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Ville Linde | |
| 1 | 3 | /* |
| 2 | 4 | i386 Disassembler |
| 3 | 5 |
| r31344 | r31345 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Ville Linde, Barry Rodewald, Carl, Phil Bennett | |
| 1 | 3 | #pragma once |
| 2 | 4 | |
| 3 | 5 | #ifndef __I386_H__ |
| r31344 | r31345 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Ville Linde, Barry Rodewald, Carl, Phil Bennett | |
| 1 | 3 | // Pentium+ specific opcodes |
| 2 | 4 | |
| 3 | 5 | extern flag float32_is_nan( float32 a ); // since its not defined in softfloat.h |
| r31344 | r31345 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Phil Bennett | |
| 1 | 3 | /*************************************************************************** |
| 2 | 4 | |
| 3 | 5 | x87 FPU emulation |
| Previous | 199869 Revisions | Next |