two_byte_opcodes.isa (6586:e8af0cf94c37) two_byte_opcodes.isa (6588:f449753172ee)
1// Copyright (c) 2008 The Regents of The University of Michigan
2// All rights reserved.
3//
4// Redistribution and use in source and binary forms, with or without
5// modification, are permitted provided that the following conditions are
6// met: redistributions of source code must retain the above copyright
7// notice, this list of conditions and the following disclaimer;
8// redistributions in binary form must reproduce the above copyright

--- 986 unchanged lines hidden (view full) ---

995 0x3: PAND(Vo,Wo);
996 0x4: PADDUSB(Vo,Wo);
997 0x5: PADDUSW(Vo,Wo);
998 0x6: PMAXUB(Vo,Wo);
999 0x7: PANDN(Vo,Wo);
1000 }
1001 default: UD2();
1002 }
1// Copyright (c) 2008 The Regents of The University of Michigan
2// All rights reserved.
3//
4// Redistribution and use in source and binary forms, with or without
5// modification, are permitted provided that the following conditions are
6// met: redistributions of source code must retain the above copyright
7// notice, this list of conditions and the following disclaimer;
8// redistributions in binary form must reproduce the above copyright

--- 986 unchanged lines hidden (view full) ---

995 0x3: PAND(Vo,Wo);
996 0x4: PADDUSB(Vo,Wo);
997 0x5: PADDUSW(Vo,Wo);
998 0x6: PMAXUB(Vo,Wo);
999 0x7: PANDN(Vo,Wo);
1000 }
1001 default: UD2();
1002 }
1003 }
1004 0x1C: decode LEGACY_DECODEVAL {
1005 // no prefix
1006 0x0: decode OPCODE_OP_BOTTOM3 {
1007 0x0: pavgb_Pq_Qq();
1008 0x1: Inst::PSRAW(Pq,Qq);
1009 0x2: Inst::PSRAD(Pq,Qq);
1010 0x3: pavgw_Pq_Qq();
1011 0x4: Inst::PMULHUW(Pq,Qq);
1012 0x5: Inst::PMULHW(Pq,Qq);
1013 0x7: movntq_Mq_Pq();
1014 default: Inst::UD2();
1003 0x1C: decode LEGACY_DECODEVAL {
1004 // no prefix
1005 0x0: decode OPCODE_OP_BOTTOM3 {
1006 0x0: PAVGB(Pq,Qq);
1007 0x1: PSRAW(Pq,Qq);
1008 0x2: PSRAD(Pq,Qq);
1009 0x3: PAVGW(Pq,Qq);
1010 0x4: PMULHUW(Pq,Qq);
1011 0x5: PMULHW(Pq,Qq);
1012 0x7: WarnUnimpl::movntq_Mq_Pq();
1013 default: UD2();
1014 }
1015 // repe (0xF3)
1016 0x4: decode OPCODE_OP_BOTTOM3 {
1017 0x6: CVTDQ2PD(Vo,Wq);
1018 default: UD2();
1019 }
1020 // operand size (0x66)
1021 0x1: decode OPCODE_OP_BOTTOM3 {
1022 0x0: PAVGB(Vo,Wo);
1023 0x1: PSRAW(Vo,Wo);
1024 0x2: PSRAD(Vo,Wo);
1025 0x3: PAVGW(Vo,Wo);
1026 0x4: PMULHUW(Vo,Wo);
1027 0x5: PMULHW(Vo,Wo);
1028 0x6: WarnUnimpl::cvttpd2dq_Vo_Wo();
1029 0x7: WarnUnimpl::movntdq_Mo_Vo();
1030 }
1031 // repne (0xF2)
1032 0x8: decode OPCODE_OP_BOTTOM3 {
1033 0x6: WarnUnimpl::cvtpd2dq_Vo_Wo();
1034 default: UD2();
1035 }
1036 default: UD2();
1015 }
1037 }
1016 // repe (0xF3)
1017 0x4: decode OPCODE_OP_BOTTOM3 {
1018 0x6: Inst::CVTDQ2PD(Vo,Wq);
1019 default: Inst::UD2();
1020 }
1021 // operand size (0x66)
1022 0x1: decode OPCODE_OP_BOTTOM3 {
1023 0x0: pavgb_Vo_Wo();
1024 0x1: Inst::PSRAW(Vo,Wo);
1025 0x2: Inst::PSRAD(Vo,Wo);
1026 0x3: pavgw_Vo_Wo();
1027 0x4: Inst::PMULHUW(Vo,Wo);
1028 0x5: Inst::PMULHW(Vo,Wo);
1029 0x6: cvttpd2dq_Vo_Wo();
1030 0x7: movntdq_Mo_Vo();
1031 }
1032 // repne (0xF2)
1033 0x8: decode OPCODE_OP_BOTTOM3 {
1034 0x6: cvtpd2dq_Vo_Wo();
1035 default: Inst::UD2();
1036 }
1037 default: Inst::UD2();
1038 }
1039 format Inst {
1040 0x1D: decode LEGACY_DECODEVAL {
1041 // no prefix
1042 0x0: decode OPCODE_OP_BOTTOM3 {
1043 0x0: PSUBSB(Pq,Qq);
1044 0x1: PSUBSW(Pq,Qq);
1045 0x2: PMINSW(Pq,Qq);
1046 0x3: POR(Pq,Qq);
1047 0x4: PADDSB(Pq,Qq);

--- 79 unchanged lines hidden ---
1038 0x1D: decode LEGACY_DECODEVAL {
1039 // no prefix
1040 0x0: decode OPCODE_OP_BOTTOM3 {
1041 0x0: PSUBSB(Pq,Qq);
1042 0x1: PSUBSW(Pq,Qq);
1043 0x2: PMINSW(Pq,Qq);
1044 0x3: POR(Pq,Qq);
1045 0x4: PADDSB(Pq,Qq);

--- 79 unchanged lines hidden ---