| OLD | NEW |
| 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
| 2 // All Rights Reserved. | 2 // All Rights Reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
| 9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
| 10 // | 10 // |
| (...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 882 void clc(); | 882 void clc(); |
| 883 void cld(); | 883 void cld(); |
| 884 void cpuid(); | 884 void cpuid(); |
| 885 void hlt(); | 885 void hlt(); |
| 886 void int3(); | 886 void int3(); |
| 887 void nop(); | 887 void nop(); |
| 888 void ret(int imm16); | 888 void ret(int imm16); |
| 889 void ud2(); | 889 void ud2(); |
| 890 void setcc(Condition cc, Register reg); | 890 void setcc(Condition cc, Register reg); |
| 891 | 891 |
| 892 void pshufw(XMMRegister dst, XMMRegister src, uint8_t shuffle); |
| 893 void pshufw(XMMRegister dst, const Operand& src, uint8_t shuffle); |
| 894 |
| 892 // Label operations & relative jumps (PPUM Appendix D) | 895 // Label operations & relative jumps (PPUM Appendix D) |
| 893 // | 896 // |
| 894 // Takes a branch opcode (cc) and a label (L) and generates | 897 // Takes a branch opcode (cc) and a label (L) and generates |
| 895 // either a backward branch or a forward branch and links it | 898 // either a backward branch or a forward branch and links it |
| 896 // to the label fixup chain. Usage: | 899 // to the label fixup chain. Usage: |
| 897 // | 900 // |
| 898 // Label L; // unbound label | 901 // Label L; // unbound label |
| 899 // j(cc, &L); // forward branch to unbound label | 902 // j(cc, &L); // forward branch to unbound label |
| 900 // bind(&L); // bind label to the current pc | 903 // bind(&L); // bind label to the current pc |
| 901 // j(cc, &L); // backward branch to bound label | 904 // j(cc, &L); // backward branch to bound label |
| (...skipping 1617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2519 Assembler* assembler_; | 2522 Assembler* assembler_; |
| 2520 #ifdef DEBUG | 2523 #ifdef DEBUG |
| 2521 int space_before_; | 2524 int space_before_; |
| 2522 #endif | 2525 #endif |
| 2523 }; | 2526 }; |
| 2524 | 2527 |
| 2525 } // namespace internal | 2528 } // namespace internal |
| 2526 } // namespace v8 | 2529 } // namespace v8 |
| 2527 | 2530 |
| 2528 #endif // V8_X64_ASSEMBLER_X64_H_ | 2531 #endif // V8_X64_ASSEMBLER_X64_H_ |
| OLD | NEW |