Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-07-04 | x86: Adjust the size of the values written to the x87 misc registers | Nikos Nikoleris | |
All x87 misc registers are implemented in an array of 64 bit values but in real hardware the size of some of these registers is smaller. Previsouly all 64 bits where incorrectly set and then later read. To ensure correctness we mask the value in setMiscRegNoEffect to write only the valid bits. Committed by: Nilay Vaish <nilay@cs.wisc.edu> | |||
2015-01-10 | x86 : fxsave and fxrestore missing template code | Emilio Castillo | |
This patch corrects the FXSAVE and FXRSTOR Macroops. The actual code used for saving/restore the FP registers is in the file but it was not used. The FXSAVE and FXRSTOR instructions are used in the kernel for saving and loading the state of the mmx,xmm and fpu registers. This operation is triggered in FS by issuing a Device Not Available Fault. The cr0 register has a TS flag that is set upon each context change. Every time a task access any FP related register (SIMD as well) if the TS flag is set to one, the device not available fault is issued. The kernel saves the current state of the registers, and restore the previous state of the currently running task. Right now Gem5 lacks of this capability. the Device Not Available Fault is never issued, leading to several problems when different threads share the same CPU and SMT is not used. The PARSEC Ferret benchmark is an example of this behavior. In order to test this a hack in the atomic cpu code was done to detect if a static instruction has any FP operands and the cr0 reg TS bit is set. This check must be done in the ISA dependent code. But it seems to be tricky to access the cr0 register while executing an instruction. Committed by: Nilay Vaish <nilay@cs.wisc.edu> | |||
2013-09-30 | x86: Add support for FXSAVE, FXSAVE64, FXRSTOR, and FXRSTOR64 | Andreas Sandberg | |
2010-05-23 | copyright: Change HP copyright on x86 code to be more friendly | Nathan Binkert | |
2009-12-19 | X86: Add a common named flag for signed media operations. | Gabe Black | |
2009-12-19 | X86: Create a common flag with a name to indicate high multiplies. | Gabe Black | |
2009-12-19 | X86: Create a common flag with a name to indicate scalar media instructions. | Gabe Black | |
2009-10-30 | X86: Add support for x86 psrldq and pslldq instructions | Vince Weaver | |
These are complicated instructions and the micro-code might be suboptimal. This has been tested with some small sample programs (attached) The psrldq instruction is needed by various spec2k programs. | |||
2009-10-21 | Implement X86 sse2 movdqu and movdqa instructions | Vince Weaver | |
The movdqa instruction should enforce 16-byte alignment. This implementation does not do that. These instructions are needed for most of x86_64 spec2k to run. | |||
2009-08-17 | X86: Implement MOVQ2DQ. | Gabe Black | |
2009-08-17 | X86: Implement MOVDQ2Q. | Gabe Black | |
2009-08-17 | X86: Implement LDMXCSR. | Gabe Black | |
2009-08-17 | X86: Implement STMXCSR. | Gabe Black | |
2009-08-17 | X86: Implement the shuffle media instructions. | Gabe Black | |
2009-08-17 | X86: Implement the mask move instructions. | Gabe Black | |
2009-08-17 | X86: Implement the instructions that move sign bits. | Gabe Black | |
2009-08-17 | X86: Implement the insert/extract instructions. | Gabe Black | |
2009-08-17 | X86: Implement the media average instructions. | Gabe Black | |
2009-08-17 | X86: Implement the multiply and add instructions. | Gabe Black | |
2009-08-17 | X86: Implement the media shifts that operate on 64 bits or less at a time. | Gabe Black | |
2009-08-17 | X86: Implement the sum of absolute differences instructions. | Gabe Black | |
2009-08-17 | X86: Implement the media integer subtract instructions. | Gabe Black | |
2009-08-17 | X86: Implement the integer media multiply instructions. | Gabe Black | |
2009-08-17 | X86: Implement the integer media max instructions. | Gabe Black | |
2009-08-17 | X86: Implement the integer media min instructions. | Gabe Black | |
2009-08-17 | X86: Implement the media integer addition instructions. | Gabe Black | |
2009-08-17 | X86: Implement the instructions that compare fp values and write masks as ↵ | Gabe Black | |
the result. | |||
2009-08-17 | X86: Implement the media instructions that convert integer values to ↵ | Gabe Black | |
floating point. | |||
2009-08-17 | X86: Implement the pack instructions. | Gabe Black | |
2009-08-17 | X86: Rename sel to ext for media microops. | Gabe Black | |
2009-08-17 | X86: Move the MMX version of MOVD into the simd64 directory. | Gabe Black | |
2009-08-17 | X86: Implement PANDN, ANDNPS, and ANDNPD. | Gabe Black | |
2009-08-17 | X86: Implement PAND, ANDPS, and ANDPD. | Gabe Black | |
2009-08-17 | X86: Implement POR, ORPD and ORPS. | Gabe Black | |
2009-08-17 | X86: Implement PXOR. | Gabe Black | |
2009-08-17 | X86: Implement PUNPCKLQDQ. | Gabe Black | |
2009-08-17 | X86: Implement PUNPCKHQDQ. | Gabe Black | |
2009-08-17 | X86: Implement PUNPCKHDQ. | Gabe Black | |
2009-08-17 | X86: Implement PUNPCKHWD. | Gabe Black | |
2009-08-17 | X86: Implement PUNPCKHBW. | Gabe Black | |
2009-08-17 | X86: Implement PUNPCKLDQ. | Gabe Black | |
2009-08-17 | X86: Implement PUNPCKLWD. | Gabe Black | |
2009-08-17 | X86: Implement the versions of PUNPCKLBW that use XMM registers. | Gabe Black | |
2009-08-17 | X86: Implement the MOVQ instruction. | Gabe Black | |
2009-08-17 | X86: Implement the versions of MOVD that have an MMX source. | Gabe Black | |
2009-08-17 | X86: Implement the versions of MOVD that have an MMX destination. | Gabe Black | |
2009-08-17 | X86: Use suffixes to differentiate XMM/MMX/GPR operands. | Gabe Black | |
2007-09-19 | X86: Put in stubs for x87, 64 bit and 128 bit SIMD instruction microcode. | Gabe Black | |
--HG-- rename : src/arch/x86/isa/insts/sse/__init__.py => src/arch/x86/isa/insts/simd128/__init__.py extra : convert_revision : efb4405aebaa4a04f33572e7d078ceca45872d9c |