two_byte_opcodes.isa (6538:6cf5a0235ae8) | two_byte_opcodes.isa (6540:17414b661543) |
---|---|
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 --- 454 unchanged lines hidden (view full) --- 463 } 464 0x0A: decode LEGACY_DECODEVAL { 465 // no prefix 466 0x0: decode OPCODE_OP_BOTTOM3 { 467 0x0: movmskps_Gd_VRo(); 468 0x1: sqrtps_Vo_Wo(); 469 0x2: rqsrtps_Vo_Wo(); 470 0x3: rcpps_Vo_Wo(); | 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 --- 454 unchanged lines hidden (view full) --- 463 } 464 0x0A: decode LEGACY_DECODEVAL { 465 // no prefix 466 0x0: decode OPCODE_OP_BOTTOM3 { 467 0x0: movmskps_Gd_VRo(); 468 0x1: sqrtps_Vo_Wo(); 469 0x2: rqsrtps_Vo_Wo(); 470 0x3: rcpps_Vo_Wo(); |
471 0x4: andps_Vo_Wo(); | 471 0x4: Inst::ANDPS(Vo,Wo); |
472 0x5: andnps_Vo_Wo(); 473 0x6: Inst::ORPS(Vo,Wo); 474 0x7: Inst::XORPS(Vo,Wo); 475 } 476 // repe (0xF3) 477 0x4: decode OPCODE_OP_BOTTOM3 { 478 0x1: sqrtss_Vd_Wd(); 479 0x2: rsqrtss_Vd_Wd(); 480 0x3: rcpss_Vd_Wd(); 481 default: Inst::UD2(); 482 } 483 // operand size (0x66) 484 0x1: decode OPCODE_OP_BOTTOM3 { 485 0x0: movmskpd_Gd_VRo(); 486 0x1: sqrtpd_Vo_Wo(); | 472 0x5: andnps_Vo_Wo(); 473 0x6: Inst::ORPS(Vo,Wo); 474 0x7: Inst::XORPS(Vo,Wo); 475 } 476 // repe (0xF3) 477 0x4: decode OPCODE_OP_BOTTOM3 { 478 0x1: sqrtss_Vd_Wd(); 479 0x2: rsqrtss_Vd_Wd(); 480 0x3: rcpss_Vd_Wd(); 481 default: Inst::UD2(); 482 } 483 // operand size (0x66) 484 0x1: decode OPCODE_OP_BOTTOM3 { 485 0x0: movmskpd_Gd_VRo(); 486 0x1: sqrtpd_Vo_Wo(); |
487 0x4: andpd_Vo_Wo(); | 487 0x4: Inst::ANDPD(Vo,Wo); |
488 0x5: andnpd_Vo_Wo(); 489 0x6: Inst::ORPD(Vo,Wo); 490 //This really should be type o, but it works on q sized 491 //chunks at a time. 492 0x7: Inst::XORPD(Vq,Wq); 493 default: Inst::UD2(); 494 } 495 format Inst { --- 485 unchanged lines hidden (view full) --- 981 default: Inst::UD2(); 982 } 983 0x1B: decode LEGACY_DECODEVAL { 984 // no prefix 985 0x0: decode OPCODE_OP_BOTTOM3 { 986 0x0: psubusb_Pq_Qq(); 987 0x1: psubusw_Pq_Qq(); 988 0x2: pminub_Pq_Qq(); | 488 0x5: andnpd_Vo_Wo(); 489 0x6: Inst::ORPD(Vo,Wo); 490 //This really should be type o, but it works on q sized 491 //chunks at a time. 492 0x7: Inst::XORPD(Vq,Wq); 493 default: Inst::UD2(); 494 } 495 format Inst { --- 485 unchanged lines hidden (view full) --- 981 default: Inst::UD2(); 982 } 983 0x1B: decode LEGACY_DECODEVAL { 984 // no prefix 985 0x0: decode OPCODE_OP_BOTTOM3 { 986 0x0: psubusb_Pq_Qq(); 987 0x1: psubusw_Pq_Qq(); 988 0x2: pminub_Pq_Qq(); |
989 0x3: pand_Pq_Qq(); | 989 0x3: Inst::PAND(Pq,Qq); |
990 0x4: paddusb_Pq_Qq(); 991 0x5: paddusw_Pq_Qq(); 992 0x6: pmaxub_Pq_Qq(); 993 0x7: pandn_Pq_Qq(); 994 } 995 // operand size (0x66) 996 0x1: decode OPCODE_OP_BOTTOM3 { 997 0x0: psubusb_Vo_Wo(); 998 0x1: psubusw_Vo_Wo(); 999 0x2: pminub_Vo_Wo(); | 990 0x4: paddusb_Pq_Qq(); 991 0x5: paddusw_Pq_Qq(); 992 0x6: pmaxub_Pq_Qq(); 993 0x7: pandn_Pq_Qq(); 994 } 995 // operand size (0x66) 996 0x1: decode OPCODE_OP_BOTTOM3 { 997 0x0: psubusb_Vo_Wo(); 998 0x1: psubusw_Vo_Wo(); 999 0x2: pminub_Vo_Wo(); |
1000 0x3: pand_Vo_Wo(); | 1000 0x3: Inst::PAND(Vo,Wo); |
1001 0x4: paddusb_Vo_Wo(); 1002 0x5: paddusw_Vo_Wo(); 1003 0x6: pmaxub_Vo_Wo(); 1004 0x7: pandn_Vo_Wo(); 1005 } 1006 default: Inst::UD2(); 1007 } 1008 0x1C: decode LEGACY_DECODEVAL { --- 120 unchanged lines hidden --- | 1001 0x4: paddusb_Vo_Wo(); 1002 0x5: paddusw_Vo_Wo(); 1003 0x6: pmaxub_Vo_Wo(); 1004 0x7: pandn_Vo_Wo(); 1005 } 1006 default: Inst::UD2(); 1007 } 1008 0x1C: decode LEGACY_DECODEVAL { --- 120 unchanged lines hidden --- |