-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
second pass through new opcodes to eliminate duplicates
add definitions for new opcodes in m_int_uop_table and m_fp_uop_table without selecting uops -- still need to confirm what they map to
- Loading branch information
1 parent
7954df1
commit 2cd7ddc
Showing
5 changed files
with
134 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
/* | ||
Copyright (c) <2020>, <Georgia Institute of Technology> All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without modification, are permitted | ||
provided that the following conditions are met: | ||
|
||
Redistributions of source code must retain the above copyright notice, this list of conditions | ||
and the following disclaimer. | ||
|
||
Redistributions in binary form must reproduce the above copyright notice, this list of | ||
conditions and the following disclaimer in the documentation and/or other materials provided | ||
with the distribution. | ||
|
||
Neither the name of the <Georgia Institue of Technology> nor the names of its contributors | ||
may be used to endorse or promote products derived from this software without specific prior | ||
written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR | ||
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY | ||
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR | ||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
POSSIBILITY OF SUCH DAMAGE. | ||
*/ | ||
|
||
|
||
/* | ||
* The arguments to DEFUOP(opcode, latency) are as follows: | ||
* opcode - opcode name | ||
* latency - opcode latency | ||
*/ | ||
|
||
DEFUOP( UOP_INV, 1) | ||
DEFUOP( UOP_NOP, 1) | ||
DEFUOP( UOP_CF, 1) | ||
DEFUOP( UOP_CMOV, 1) | ||
DEFUOP( UOP_LDA, 1) | ||
DEFUOP( UOP_IMEM, 1) | ||
DEFUOP( UOP_LD, 1) | ||
DEFUOP( UOP_ST, 1) | ||
DEFUOP( UOP_IADD, 1) | ||
DEFUOP( UOP_IMUL, 3) | ||
DEFUOP( UOP_IDIV, 24) | ||
DEFUOP( UOP_ICMP, 1) | ||
DEFUOP( UOP_LOGIC, 1) | ||
DEFUOP( UOP_SHIFT, 1) | ||
DEFUOP( UOP_BYTE, 1) | ||
DEFUOP( UOP_MM, 1) | ||
|
||
DEFUOP( UOP_VSTR, 3) | ||
DEFUOP( UOP_VADD, 1) | ||
DEFUOP( UOP_VFADD, 1) // not used in coffee lake | ||
DEFUOP( UOP_AES, 4) | ||
DEFUOP( UOP_PCLMUL, 7) | ||
DEFUOP( UOP_X87, 3) | ||
DEFUOP( UOP_XSAVE, 107) | ||
DEFUOP( UOP_XSAVEOPT,84) | ||
|
||
DEFUOP( UOP_FMEM, 1) | ||
|
||
DEFUOP( UOP_LFENCE, 100) | ||
DEFUOP( UOP_FULL_FENCE, 100) | ||
DEFUOP( UOP_ACQ_FENCE, 100) | ||
DEFUOP( UOP_REL_FENCE, 100) | ||
|
||
DEFUOP( UOP_FCF, 1) | ||
DEFUOP( UOP_FCVT, 2) | ||
DEFUOP( UOP_FADD, 3) | ||
DEFUOP( UOP_FMUL, 5) | ||
DEFUOP( UOP_FDIV, 15) | ||
DEFUOP( UOP_FCMP, 2) | ||
DEFUOP( UOP_FBIT, 2) | ||
DEFUOP( UOP_FCMOV, 1) | ||
|
||
DEFUOP( UOP_SSE, 1) | ||
|
||
DEFUOP( UOP_AMX, 100) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters