| 1 | /* |
| 2 | * Copyright (C) 2008 Apple Inc. 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 |
| 6 | * are met: |
| 7 | * 1. Redistributions of source code must retain the above copyright |
| 8 | * notice, this list of conditions and the following disclaimer. |
| 9 | * 2. Redistributions in binary form must reproduce the above copyright |
| 10 | * notice, this list of conditions and the following disclaimer in the |
| 11 | * documentation and/or other materials provided with the distribution. |
| 12 | * |
| 13 | * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY |
| 14 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 15 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 16 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR |
| 17 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 18 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 19 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 20 | * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 21 | * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 22 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 | */ |
| 25 | |
| 26 | #ifndef X86Assembler_h |
| 27 | #define X86Assembler_hcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/assembler/X86Assembler.h:27:9`! |
| 28 | |
| 29 | #include <wtf/Platform.h>cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h`/ |
| 30 | |
| 31 | #if ENABLEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:57:9`!(ASSEMBLER) && (CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86) || CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64)) |
| 32 | |
| 33 | #include "AssemblerBuffer.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/assembler/AssemblerBuffer.h`/ |
| 34 | #include <stdint.h> |
| 35 | #include <wtf/Assertions.h>cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h`/ |
| 36 | #include <wtf/Vector.h>cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h`/ |
| 37 | |
| 38 | namespace JSCcxx . . $ QTJSC/ { |
| 39 | |
| 40 | inline bool CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(int32_tcxx . . $ int32_t# value) { return value == (int32_tcxx . . $ int32_t#)(signed char)value; } |
| 41 | |
| 42 | namespace X86Registerscxx . . $ QTJSC/X86Registers/ { |
| 43 | typedef enumcxx . . $ QTJSC/X86Registers/$anonymous_type_7a490c00799aab4d_0# { |
| 44 | eaxcxx . . $ QTJSC/X86Registers/eax., |
| 45 | ecxcxx . . $ QTJSC/X86Registers/ecx., |
| 46 | edxcxx . . $ QTJSC/X86Registers/edx., |
| 47 | ebxcxx . . $ QTJSC/X86Registers/ebx., |
| 48 | espcxx . . $ QTJSC/X86Registers/esp., |
| 49 | ebpcxx . . $ QTJSC/X86Registers/ebp., |
| 50 | esicxx . . $ QTJSC/X86Registers/esi., |
| 51 | edicxx . . $ QTJSC/X86Registers/edi., |
| 52 | |
| 53 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 54 | r8cxx . . $ QTJSC/X86Registers/r8., |
| 55 | r9cxx . . $ QTJSC/X86Registers/r9., |
| 56 | r10cxx . . $ QTJSC/X86Registers/r10., |
| 57 | r11cxx . . $ QTJSC/X86Registers/r11., |
| 58 | r12cxx . . $ QTJSC/X86Registers/r12., |
| 59 | r13cxx . . $ QTJSC/X86Registers/r13., |
| 60 | r14cxx . . $ QTJSC/X86Registers/r14., |
| 61 | r15cxx . . $ QTJSC/X86Registers/r15., |
| 62 | #endif |
| 63 | } RegisterIDcxx . . $ QTJSC/X86Registers/RegisterID#; |
| 64 | |
| 65 | typedef enumcxx . . $ QTJSC/X86Registers/$anonymous_type_7a490c00799aab4d_1# { |
| 66 | xmm0cxx . . $ QTJSC/X86Registers/xmm0., |
| 67 | xmm1cxx . . $ QTJSC/X86Registers/xmm1., |
| 68 | xmm2cxx . . $ QTJSC/X86Registers/xmm2., |
| 69 | xmm3cxx . . $ QTJSC/X86Registers/xmm3., |
| 70 | xmm4cxx . . $ QTJSC/X86Registers/xmm4., |
| 71 | xmm5cxx . . $ QTJSC/X86Registers/xmm5., |
| 72 | xmm6cxx . . $ QTJSC/X86Registers/xmm6., |
| 73 | xmm7cxx . . $ QTJSC/X86Registers/xmm7., |
| 74 | } XMMRegisterIDcxx . . $ QTJSC/X86Registers/XMMRegisterID#; |
| 75 | } |
| 76 | |
| 77 | class X86Assemblercxx . . $ QTJSC/X86Assembler# { |
| 78 | public: |
| 79 | typedef X86Registerscxx . . $ QTJSC/X86Registers/::RegisterIDcxx . . $ QTJSC/X86Registers/RegisterID# RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#; |
| 80 | typedef X86Registerscxx . . $ QTJSC/X86Registers/::XMMRegisterIDcxx . . $ QTJSC/X86Registers/XMMRegisterID# XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID#; |
| 81 | typedef XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# FPRegisterIDcxx . . $ QTJSC/X86Assembler#FPRegisterID#; |
| 82 | |
| 83 | typedef enumcxx . . $ QTJSC/X86Assembler#$anonymous_type_2# { |
| 84 | ConditionOcxx . . $ QTJSC/X86Assembler#ConditionO., |
| 85 | ConditionNOcxx . . $ QTJSC/X86Assembler#ConditionNO., |
| 86 | ConditionBcxx . . $ QTJSC/X86Assembler#ConditionB., |
| 87 | ConditionAEcxx . . $ QTJSC/X86Assembler#ConditionAE., |
| 88 | ConditionEcxx . . $ QTJSC/X86Assembler#ConditionE., |
| 89 | ConditionNEcxx . . $ QTJSC/X86Assembler#ConditionNE., |
| 90 | ConditionBEcxx . . $ QTJSC/X86Assembler#ConditionBE., |
| 91 | ConditionAcxx . . $ QTJSC/X86Assembler#ConditionA., |
| 92 | ConditionScxx . . $ QTJSC/X86Assembler#ConditionS., |
| 93 | ConditionNScxx . . $ QTJSC/X86Assembler#ConditionNS., |
| 94 | ConditionPcxx . . $ QTJSC/X86Assembler#ConditionP., |
| 95 | ConditionNPcxx . . $ QTJSC/X86Assembler#ConditionNP., |
| 96 | ConditionLcxx . . $ QTJSC/X86Assembler#ConditionL., |
| 97 | ConditionGEcxx . . $ QTJSC/X86Assembler#ConditionGE., |
| 98 | ConditionLEcxx . . $ QTJSC/X86Assembler#ConditionLE., |
| 99 | ConditionGcxx . . $ QTJSC/X86Assembler#ConditionG., |
| 100 | |
| 101 | ConditionCcxx . . $ QTJSC/X86Assembler#ConditionC. = ConditionBcxx . . $ QTJSC/X86Assembler#ConditionB., |
| 102 | ConditionNCcxx . . $ QTJSC/X86Assembler#ConditionNC. = ConditionAEcxx . . $ QTJSC/X86Assembler#ConditionAE., |
| 103 | } Conditioncxx . . $ QTJSC/X86Assembler#Condition#; |
| 104 | |
| 105 | private: |
| 106 | typedef enumcxx . . $ QTJSC/X86Assembler#$anonymous_type_3# { |
| 107 | OP_ADD_EvGvcxx . . $ QTJSC/X86Assembler#OP_ADD_EvGv. = 0x01, |
| 108 | OP_ADD_GvEvcxx . . $ QTJSC/X86Assembler#OP_ADD_GvEv. = 0x03, |
| 109 | OP_OR_EvGvcxx . . $ QTJSC/X86Assembler#OP_OR_EvGv. = 0x09, |
| 110 | OP_OR_GvEvcxx . . $ QTJSC/X86Assembler#OP_OR_GvEv. = 0x0B, |
| 111 | OP_2BYTE_ESCAPEcxx . . $ QTJSC/X86Assembler#OP_2BYTE_ESCAPE. = 0x0F, |
| 112 | OP_AND_EvGvcxx . . $ QTJSC/X86Assembler#OP_AND_EvGv. = 0x21, |
| 113 | OP_AND_GvEvcxx . . $ QTJSC/X86Assembler#OP_AND_GvEv. = 0x23, |
| 114 | OP_SUB_EvGvcxx . . $ QTJSC/X86Assembler#OP_SUB_EvGv. = 0x29, |
| 115 | OP_SUB_GvEvcxx . . $ QTJSC/X86Assembler#OP_SUB_GvEv. = 0x2B, |
| 116 | PRE_PREDICT_BRANCH_NOT_TAKENcxx . . $ QTJSC/X86Assembler#PRE_PREDICT_BRANCH_NOT_TAKEN. = 0x2E, |
| 117 | OP_XOR_EvGvcxx . . $ QTJSC/X86Assembler#OP_XOR_EvGv. = 0x31, |
| 118 | OP_XOR_GvEvcxx . . $ QTJSC/X86Assembler#OP_XOR_GvEv. = 0x33, |
| 119 | OP_CMP_EvGvcxx . . $ QTJSC/X86Assembler#OP_CMP_EvGv. = 0x39, |
| 120 | OP_CMP_GvEvcxx . . $ QTJSC/X86Assembler#OP_CMP_GvEv. = 0x3B, |
| 121 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 122 | PRE_REXcxx . . $ QTJSC/X86Assembler#PRE_REX. = 0x40, |
| 123 | #endif |
| 124 | OP_PUSH_EAXcxx . . $ QTJSC/X86Assembler#OP_PUSH_EAX. = 0x50, |
| 125 | OP_POP_EAXcxx . . $ QTJSC/X86Assembler#OP_POP_EAX. = 0x58, |
| 126 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 127 | OP_MOVSXD_GvEvcxx . . $ QTJSC/X86Assembler#OP_MOVSXD_GvEv. = 0x63, |
| 128 | #endif |
| 129 | PRE_OPERAND_SIZEcxx . . $ QTJSC/X86Assembler#PRE_OPERAND_SIZE. = 0x66, |
| 130 | PRE_SSE_66cxx . . $ QTJSC/X86Assembler#PRE_SSE_66. = 0x66, |
| 131 | OP_PUSH_Izcxx . . $ QTJSC/X86Assembler#OP_PUSH_Iz. = 0x68, |
| 132 | OP_IMUL_GvEvIzcxx . . $ QTJSC/X86Assembler#OP_IMUL_GvEvIz. = 0x69, |
| 133 | OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz. = 0x81, |
| 134 | OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb. = 0x83, |
| 135 | OP_TEST_EvGvcxx . . $ QTJSC/X86Assembler#OP_TEST_EvGv. = 0x85, |
| 136 | OP_XCHG_EvGvcxx . . $ QTJSC/X86Assembler#OP_XCHG_EvGv. = 0x87, |
| 137 | OP_MOV_EvGvcxx . . $ QTJSC/X86Assembler#OP_MOV_EvGv. = 0x89, |
| 138 | OP_MOV_GvEvcxx . . $ QTJSC/X86Assembler#OP_MOV_GvEv. = 0x8B, |
| 139 | OP_LEAcxx . . $ QTJSC/X86Assembler#OP_LEA. = 0x8D, |
| 140 | OP_GROUP1A_Evcxx . . $ QTJSC/X86Assembler#OP_GROUP1A_Ev. = 0x8F, |
| 141 | OP_CDQcxx . . $ QTJSC/X86Assembler#OP_CDQ. = 0x99, |
| 142 | OP_MOV_EAXOvcxx . . $ QTJSC/X86Assembler#OP_MOV_EAXOv. = 0xA1, |
| 143 | OP_MOV_OvEAXcxx . . $ QTJSC/X86Assembler#OP_MOV_OvEAX. = 0xA3, |
| 144 | OP_MOV_EAXIvcxx . . $ QTJSC/X86Assembler#OP_MOV_EAXIv. = 0xB8, |
| 145 | OP_GROUP2_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP2_EvIb. = 0xC1, |
| 146 | OP_RETcxx . . $ QTJSC/X86Assembler#OP_RET. = 0xC3, |
| 147 | OP_GROUP11_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP11_EvIz. = 0xC7, |
| 148 | OP_INT3cxx . . $ QTJSC/X86Assembler#OP_INT3. = 0xCC, |
| 149 | OP_GROUP2_Ev1cxx . . $ QTJSC/X86Assembler#OP_GROUP2_Ev1. = 0xD1, |
| 150 | OP_GROUP2_EvCLcxx . . $ QTJSC/X86Assembler#OP_GROUP2_EvCL. = 0xD3, |
| 151 | OP_CALL_rel32cxx . . $ QTJSC/X86Assembler#OP_CALL_rel32. = 0xE8, |
| 152 | OP_JMP_rel32cxx . . $ QTJSC/X86Assembler#OP_JMP_rel32. = 0xE9, |
| 153 | PRE_SSE_F2cxx . . $ QTJSC/X86Assembler#PRE_SSE_F2. = 0xF2, |
| 154 | OP_HLTcxx . . $ QTJSC/X86Assembler#OP_HLT. = 0xF4, |
| 155 | OP_GROUP3_EbIbcxx . . $ QTJSC/X86Assembler#OP_GROUP3_EbIb. = 0xF6, |
| 156 | OP_GROUP3_Evcxx . . $ QTJSC/X86Assembler#OP_GROUP3_Ev. = 0xF7, |
| 157 | OP_GROUP3_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP3_EvIz. = 0xF7, // OP_GROUP3_Ev has an immediate, when instruction is a test. |
| 158 | OP_GROUP5_Evcxx . . $ QTJSC/X86Assembler#OP_GROUP5_Ev. = 0xFF, |
| 159 | } OneByteOpcodeIDcxx . . $ QTJSC/X86Assembler#OneByteOpcodeID#; |
| 160 | |
| 161 | typedef enumcxx . . $ QTJSC/X86Assembler#$anonymous_type_4# { |
| 162 | OP2_MOVSD_VsdWsdcxx . . $ QTJSC/X86Assembler#OP2_MOVSD_VsdWsd. = 0x10, |
| 163 | OP2_MOVSD_WsdVsdcxx . . $ QTJSC/X86Assembler#OP2_MOVSD_WsdVsd. = 0x11, |
| 164 | OP2_CVTSI2SD_VsdEdcxx . . $ QTJSC/X86Assembler#OP2_CVTSI2SD_VsdEd. = 0x2A, |
| 165 | OP2_CVTTSD2SI_GdWsdcxx . . $ QTJSC/X86Assembler#OP2_CVTTSD2SI_GdWsd. = 0x2C, |
| 166 | OP2_UCOMISD_VsdWsdcxx . . $ QTJSC/X86Assembler#OP2_UCOMISD_VsdWsd. = 0x2E, |
| 167 | OP2_ADDSD_VsdWsdcxx . . $ QTJSC/X86Assembler#OP2_ADDSD_VsdWsd. = 0x58, |
| 168 | OP2_MULSD_VsdWsdcxx . . $ QTJSC/X86Assembler#OP2_MULSD_VsdWsd. = 0x59, |
| 169 | OP2_SUBSD_VsdWsdcxx . . $ QTJSC/X86Assembler#OP2_SUBSD_VsdWsd. = 0x5C, |
| 170 | OP2_DIVSD_VsdWsdcxx . . $ QTJSC/X86Assembler#OP2_DIVSD_VsdWsd. = 0x5E, |
| 171 | OP2_XORPD_VpdWpdcxx . . $ QTJSC/X86Assembler#OP2_XORPD_VpdWpd. = 0x57, |
| 172 | OP2_MOVD_VdEdcxx . . $ QTJSC/X86Assembler#OP2_MOVD_VdEd. = 0x6E, |
| 173 | OP2_MOVD_EdVdcxx . . $ QTJSC/X86Assembler#OP2_MOVD_EdVd. = 0x7E, |
| 174 | OP2_JCC_rel32cxx . . $ QTJSC/X86Assembler#OP2_JCC_rel32. = 0x80, |
| 175 | OP_SETCCcxx . . $ QTJSC/X86Assembler#OP_SETCC. = 0x90, |
| 176 | OP2_IMUL_GvEvcxx . . $ QTJSC/X86Assembler#OP2_IMUL_GvEv. = 0xAF, |
| 177 | OP2_MOVZX_GvEbcxx . . $ QTJSC/X86Assembler#OP2_MOVZX_GvEb. = 0xB6, |
| 178 | OP2_MOVZX_GvEwcxx . . $ QTJSC/X86Assembler#OP2_MOVZX_GvEw. = 0xB7, |
| 179 | OP2_PEXTRW_GdUdIbcxx . . $ QTJSC/X86Assembler#OP2_PEXTRW_GdUdIb. = 0xC5, |
| 180 | } TwoByteOpcodeIDcxx . . $ QTJSC/X86Assembler#TwoByteOpcodeID#; |
| 181 | |
| 182 | TwoByteOpcodeIDcxx . . $ QTJSC/X86Assembler#TwoByteOpcodeID# jccRel32cxx . . $ QTJSC/X86Assembler#jccRel32(ff49f415e60c2041).(Conditioncxx . . $ QTJSC/X86Assembler#Condition# cond) |
| 183 | { |
| 184 | return (TwoByteOpcodeIDcxx . . $ QTJSC/X86Assembler#TwoByteOpcodeID#)(OP2_JCC_rel32cxx . . $ QTJSC/X86Assembler#OP2_JCC_rel32. + cond); |
| 185 | } |
| 186 | |
| 187 | TwoByteOpcodeIDcxx . . $ QTJSC/X86Assembler#TwoByteOpcodeID# setccOpcodecxx . . $ QTJSC/X86Assembler#setccOpcode(ff49f415e60c2041).(Conditioncxx . . $ QTJSC/X86Assembler#Condition# cond) |
| 188 | { |
| 189 | return (TwoByteOpcodeIDcxx . . $ QTJSC/X86Assembler#TwoByteOpcodeID#)(OP_SETCCcxx . . $ QTJSC/X86Assembler#OP_SETCC. + cond); |
| 190 | } |
| 191 | |
| 192 | typedef enumcxx . . $ QTJSC/X86Assembler#$anonymous_type_5# { |
| 193 | GROUP1_OP_ADDcxx . . $ QTJSC/X86Assembler#GROUP1_OP_ADD. = 0, |
| 194 | GROUP1_OP_ORcxx . . $ QTJSC/X86Assembler#GROUP1_OP_OR. = 1, |
| 195 | GROUP1_OP_ADCcxx . . $ QTJSC/X86Assembler#GROUP1_OP_ADC. = 2, |
| 196 | GROUP1_OP_ANDcxx . . $ QTJSC/X86Assembler#GROUP1_OP_AND. = 4, |
| 197 | GROUP1_OP_SUBcxx . . $ QTJSC/X86Assembler#GROUP1_OP_SUB. = 5, |
| 198 | GROUP1_OP_XORcxx . . $ QTJSC/X86Assembler#GROUP1_OP_XOR. = 6, |
| 199 | GROUP1_OP_CMPcxx . . $ QTJSC/X86Assembler#GROUP1_OP_CMP. = 7, |
| 200 | |
| 201 | GROUP1A_OP_POPcxx . . $ QTJSC/X86Assembler#GROUP1A_OP_POP. = 0, |
| 202 | |
| 203 | GROUP2_OP_SHLcxx . . $ QTJSC/X86Assembler#GROUP2_OP_SHL. = 4, |
| 204 | GROUP2_OP_SARcxx . . $ QTJSC/X86Assembler#GROUP2_OP_SAR. = 7, |
| 205 | |
| 206 | GROUP3_OP_TESTcxx . . $ QTJSC/X86Assembler#GROUP3_OP_TEST. = 0, |
| 207 | GROUP3_OP_NOTcxx . . $ QTJSC/X86Assembler#GROUP3_OP_NOT. = 2, |
| 208 | GROUP3_OP_NEGcxx . . $ QTJSC/X86Assembler#GROUP3_OP_NEG. = 3, |
| 209 | GROUP3_OP_IDIVcxx . . $ QTJSC/X86Assembler#GROUP3_OP_IDIV. = 7, |
| 210 | |
| 211 | GROUP5_OP_CALLNcxx . . $ QTJSC/X86Assembler#GROUP5_OP_CALLN. = 2, |
| 212 | GROUP5_OP_JMPNcxx . . $ QTJSC/X86Assembler#GROUP5_OP_JMPN. = 4, |
| 213 | GROUP5_OP_PUSHcxx . . $ QTJSC/X86Assembler#GROUP5_OP_PUSH. = 6, |
| 214 | |
| 215 | GROUP11_MOVcxx . . $ QTJSC/X86Assembler#GROUP11_MOV. = 0, |
| 216 | } GroupOpcodeIDcxx . . $ QTJSC/X86Assembler#GroupOpcodeID#; |
| 217 | |
| 218 | class X86InstructionFormattercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#; |
| 219 | public: |
| 220 | |
| 221 | class JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# { |
| 222 | friend class X86Assemblercxx . . $ QTJSC/X86Assembler#; |
| 223 | friend class X86InstructionFormattercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#; |
| 224 | public: |
| 225 | JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc#JmpSrc(49f6e7a06ebc5aa8).() |
| 226 | : m_offsetcxx . . $ QTJSC/X86Assembler#JmpSrc#m_offset.(-1) |
| 227 | { |
| 228 | } |
| 229 | |
| 230 | private: |
| 231 | JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc#JmpSrc(d4f767463ce0a6b3).(int offset) |
| 232 | : m_offsetcxx . . $ QTJSC/X86Assembler#JmpSrc#m_offset.(offset) |
| 233 | { |
| 234 | } |
| 235 | |
| 236 | int m_offsetcxx . . $ QTJSC/X86Assembler#JmpSrc#m_offset.; |
| 237 | }; |
| 238 | |
| 239 | class JmpDstcxx . . $ QTJSC/X86Assembler#JmpDst# { |
| 240 | friend class X86Assemblercxx . . $ QTJSC/X86Assembler#; |
| 241 | friend class X86InstructionFormattercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#; |
| 242 | public: |
| 243 | JmpDstcxx . . $ QTJSC/X86Assembler#JmpDst#JmpDst(49f6e7a06ebc5aa8).() |
| 244 | : m_offsetcxx . . $ QTJSC/X86Assembler#JmpDst#m_offset.(-1) |
| 245 | , m_usedcxx . . $ QTJSC/X86Assembler#JmpDst#m_used.(false) |
| 246 | { |
| 247 | } |
| 248 | |
| 249 | bool isUsedcxx . . $ QTJSC/X86Assembler#JmpDst#isUsed(50ce9a9e25b4a850).() const { return m_usedcxx . . $ QTJSC/X86Assembler#JmpDst#m_used.; } |
| 250 | void usedcxx . . $ QTJSC/X86Assembler#JmpDst#used(49f6e7a06ebc5aa8).() { m_usedcxx . . $ QTJSC/X86Assembler#JmpDst#m_used. = true; } |
| 251 | private: |
| 252 | JmpDstcxx . . $ QTJSC/X86Assembler#JmpDst#JmpDst(d4f767463ce0a6b3).(int offset) |
| 253 | : m_offsetcxx . . $ QTJSC/X86Assembler#JmpDst#m_offset.(offset) |
| 254 | , m_usedcxx . . $ QTJSC/X86Assembler#JmpDst#m_used.(false) |
| 255 | { |
| 256 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(m_offset == offset); |
| 257 | } |
| 258 | |
| 259 | int m_offsetcxx . . $ QTJSC/X86Assembler#JmpDst#m_offset. : 31; |
| 260 | bool m_usedcxx . . $ QTJSC/X86Assembler#JmpDst#m_used. : 1; |
| 261 | }; |
| 262 | |
| 263 | X86Assemblercxx . . $ QTJSC/X86Assembler#X86Assembler(49f6e7a06ebc5aa8).() |
| 264 | { |
| 265 | } |
| 266 | |
| 267 | size_tcxx . . $ size_t# sizecxx . . $ QTJSC/X86Assembler#size(fe4d2d262d4164a8).() const { return m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..sizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#size(fe4d2d262d4164a8).(); } |
| 268 | |
| 269 | // Stack operations: |
| 270 | |
| 271 | void push_rcxx . . $ QTJSC/X86Assembler#push_r(dc42454ccd2e5f8e).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# reg) |
| 272 | { |
| 273 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(2f66e55da4fef8c8).(OP_PUSH_EAXcxx . . $ QTJSC/X86Assembler#OP_PUSH_EAX., reg); |
| 274 | } |
| 275 | |
| 276 | void pop_rcxx . . $ QTJSC/X86Assembler#pop_r(dc42454ccd2e5f8e).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# reg) |
| 277 | { |
| 278 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(2f66e55da4fef8c8).(OP_POP_EAXcxx . . $ QTJSC/X86Assembler#OP_POP_EAX., reg); |
| 279 | } |
| 280 | |
| 281 | void push_i32cxx . . $ QTJSC/X86Assembler#push_i32(d4f767463ce0a6b3).(int imm) |
| 282 | { |
| 283 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(c7c417869d87a702).(OP_PUSH_Izcxx . . $ QTJSC/X86Assembler#OP_PUSH_Iz.); |
| 284 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 285 | } |
| 286 | |
| 287 | void push_mcxx . . $ QTJSC/X86Assembler#push_m(14b7e9dabeb5dea8).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 288 | { |
| 289 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_GROUP5_Evcxx . . $ QTJSC/X86Assembler#OP_GROUP5_Ev., GROUP5_OP_PUSHcxx . . $ QTJSC/X86Assembler#GROUP5_OP_PUSH., base, offset); |
| 290 | } |
| 291 | |
| 292 | void pop_mcxx . . $ QTJSC/X86Assembler#pop_m(14b7e9dabeb5dea8).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 293 | { |
| 294 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_GROUP1A_Evcxx . . $ QTJSC/X86Assembler#OP_GROUP1A_Ev., GROUP1A_OP_POPcxx . . $ QTJSC/X86Assembler#GROUP1A_OP_POP., base, offset); |
| 295 | } |
| 296 | |
| 297 | // Arithmetic operations: |
| 298 | |
| 299 | #if !CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 300 | void adcl_im(int imm, void* addr) |
| 301 | { |
| 302 | if (CAN_SIGN_EXTEND_8_32(imm)) { |
| 303 | m_formatter.oneByteOp(OP_GROUP1_EvIb, GROUP1_OP_ADC, addr); |
| 304 | m_formatter.immediate8(imm); |
| 305 | } else { |
| 306 | m_formatter.oneByteOp(OP_GROUP1_EvIz, GROUP1_OP_ADC, addr); |
| 307 | m_formatter.immediate32(imm); |
| 308 | } |
| 309 | } |
| 310 | #endif |
| 311 | |
| 312 | void addl_rrcxx . . $ QTJSC/X86Assembler#addl_rr(6e62a04367e99636).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 313 | { |
| 314 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_ADD_EvGvcxx . . $ QTJSC/X86Assembler#OP_ADD_EvGv., src, dst); |
| 315 | } |
| 316 | |
| 317 | void addl_mrcxx . . $ QTJSC/X86Assembler#addl_mr(f6e9aeb0b8229a4a).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 318 | { |
| 319 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_ADD_GvEvcxx . . $ QTJSC/X86Assembler#OP_ADD_GvEv., dst, base, offset); |
| 320 | } |
| 321 | |
| 322 | void addl_rmcxx . . $ QTJSC/X86Assembler#addl_rm(4aca99909444705d).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 323 | { |
| 324 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_ADD_EvGvcxx . . $ QTJSC/X86Assembler#OP_ADD_EvGv., src, base, offset); |
| 325 | } |
| 326 | |
| 327 | void addl_ircxx . . $ QTJSC/X86Assembler#addl_ir(14b7e9dabeb5dea8).(int imm, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 328 | { |
| 329 | if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(imm)) { |
| 330 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb., GROUP1_OP_ADDcxx . . $ QTJSC/X86Assembler#GROUP1_OP_ADD., dst); |
| 331 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 332 | } else { |
| 333 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_ADDcxx . . $ QTJSC/X86Assembler#GROUP1_OP_ADD., dst); |
| 334 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 335 | } |
| 336 | } |
| 337 | |
| 338 | void addl_imcxx . . $ QTJSC/X86Assembler#addl_im(46ab994925b2a7f8).(int imm, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 339 | { |
| 340 | if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(imm)) { |
| 341 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb., GROUP1_OP_ADDcxx . . $ QTJSC/X86Assembler#GROUP1_OP_ADD., base, offset); |
| 342 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 343 | } else { |
| 344 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_ADDcxx . . $ QTJSC/X86Assembler#GROUP1_OP_ADD., base, offset); |
| 345 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 346 | } |
| 347 | } |
| 348 | |
| 349 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 350 | void addq_rrcxx . . $ QTJSC/X86Assembler#addq_rr(6e62a04367e99636).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 351 | { |
| 352 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_ADD_EvGvcxx . . $ QTJSC/X86Assembler#OP_ADD_EvGv., src, dst); |
| 353 | } |
| 354 | |
| 355 | void addq_ircxx . . $ QTJSC/X86Assembler#addq_ir(14b7e9dabeb5dea8).(int imm, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 356 | { |
| 357 | if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(imm)) { |
| 358 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb., GROUP1_OP_ADDcxx . . $ QTJSC/X86Assembler#GROUP1_OP_ADD., dst); |
| 359 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 360 | } else { |
| 361 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_ADDcxx . . $ QTJSC/X86Assembler#GROUP1_OP_ADD., dst); |
| 362 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 363 | } |
| 364 | } |
| 365 | |
| 366 | void addq_imcxx . . $ QTJSC/X86Assembler#addq_im(46ab994925b2a7f8).(int imm, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 367 | { |
| 368 | if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(imm)) { |
| 369 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(b5846a5475893b85).(OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb., GROUP1_OP_ADDcxx . . $ QTJSC/X86Assembler#GROUP1_OP_ADD., base, offset); |
| 370 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 371 | } else { |
| 372 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(b5846a5475893b85).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_ADDcxx . . $ QTJSC/X86Assembler#GROUP1_OP_ADD., base, offset); |
| 373 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 374 | } |
| 375 | } |
| 376 | #else |
| 377 | void addl_im(int imm, void* addr) |
| 378 | { |
| 379 | if (CAN_SIGN_EXTEND_8_32(imm)) { |
| 380 | m_formatter.oneByteOp(OP_GROUP1_EvIb, GROUP1_OP_ADD, addr); |
| 381 | m_formatter.immediate8(imm); |
| 382 | } else { |
| 383 | m_formatter.oneByteOp(OP_GROUP1_EvIz, GROUP1_OP_ADD, addr); |
| 384 | m_formatter.immediate32(imm); |
| 385 | } |
| 386 | } |
| 387 | #endif |
| 388 | |
| 389 | void andl_rrcxx . . $ QTJSC/X86Assembler#andl_rr(6e62a04367e99636).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 390 | { |
| 391 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_AND_EvGvcxx . . $ QTJSC/X86Assembler#OP_AND_EvGv., src, dst); |
| 392 | } |
| 393 | |
| 394 | void andl_mrcxx . . $ QTJSC/X86Assembler#andl_mr(f6e9aeb0b8229a4a).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 395 | { |
| 396 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_AND_GvEvcxx . . $ QTJSC/X86Assembler#OP_AND_GvEv., dst, base, offset); |
| 397 | } |
| 398 | |
| 399 | void andl_rmcxx . . $ QTJSC/X86Assembler#andl_rm(4aca99909444705d).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 400 | { |
| 401 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_AND_EvGvcxx . . $ QTJSC/X86Assembler#OP_AND_EvGv., src, base, offset); |
| 402 | } |
| 403 | |
| 404 | void andl_ircxx . . $ QTJSC/X86Assembler#andl_ir(14b7e9dabeb5dea8).(int imm, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 405 | { |
| 406 | if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(imm)) { |
| 407 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb., GROUP1_OP_ANDcxx . . $ QTJSC/X86Assembler#GROUP1_OP_AND., dst); |
| 408 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 409 | } else { |
| 410 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_ANDcxx . . $ QTJSC/X86Assembler#GROUP1_OP_AND., dst); |
| 411 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 412 | } |
| 413 | } |
| 414 | |
| 415 | void andl_imcxx . . $ QTJSC/X86Assembler#andl_im(46ab994925b2a7f8).(int imm, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 416 | { |
| 417 | if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(imm)) { |
| 418 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb., GROUP1_OP_ANDcxx . . $ QTJSC/X86Assembler#GROUP1_OP_AND., base, offset); |
| 419 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 420 | } else { |
| 421 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_ANDcxx . . $ QTJSC/X86Assembler#GROUP1_OP_AND., base, offset); |
| 422 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 423 | } |
| 424 | } |
| 425 | |
| 426 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 427 | void andq_rrcxx . . $ QTJSC/X86Assembler#andq_rr(6e62a04367e99636).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 428 | { |
| 429 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_AND_EvGvcxx . . $ QTJSC/X86Assembler#OP_AND_EvGv., src, dst); |
| 430 | } |
| 431 | |
| 432 | void andq_ircxx . . $ QTJSC/X86Assembler#andq_ir(14b7e9dabeb5dea8).(int imm, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 433 | { |
| 434 | if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(imm)) { |
| 435 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb., GROUP1_OP_ANDcxx . . $ QTJSC/X86Assembler#GROUP1_OP_AND., dst); |
| 436 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 437 | } else { |
| 438 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_ANDcxx . . $ QTJSC/X86Assembler#GROUP1_OP_AND., dst); |
| 439 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 440 | } |
| 441 | } |
| 442 | #else |
| 443 | void andl_im(int imm, void* addr) |
| 444 | { |
| 445 | if (CAN_SIGN_EXTEND_8_32(imm)) { |
| 446 | m_formatter.oneByteOp(OP_GROUP1_EvIb, GROUP1_OP_AND, addr); |
| 447 | m_formatter.immediate8(imm); |
| 448 | } else { |
| 449 | m_formatter.oneByteOp(OP_GROUP1_EvIz, GROUP1_OP_AND, addr); |
| 450 | m_formatter.immediate32(imm); |
| 451 | } |
| 452 | } |
| 453 | #endif |
| 454 | |
| 455 | void negl_rcxx . . $ QTJSC/X86Assembler#negl_r(dc42454ccd2e5f8e).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 456 | { |
| 457 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP3_Evcxx . . $ QTJSC/X86Assembler#OP_GROUP3_Ev., GROUP3_OP_NEGcxx . . $ QTJSC/X86Assembler#GROUP3_OP_NEG., dst); |
| 458 | } |
| 459 | |
| 460 | void negl_mcxx . . $ QTJSC/X86Assembler#negl_m(14b7e9dabeb5dea8).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 461 | { |
| 462 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_GROUP3_Evcxx . . $ QTJSC/X86Assembler#OP_GROUP3_Ev., GROUP3_OP_NEGcxx . . $ QTJSC/X86Assembler#GROUP3_OP_NEG., base, offset); |
| 463 | } |
| 464 | |
| 465 | void notl_rcxx . . $ QTJSC/X86Assembler#notl_r(dc42454ccd2e5f8e).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 466 | { |
| 467 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP3_Evcxx . . $ QTJSC/X86Assembler#OP_GROUP3_Ev., GROUP3_OP_NOTcxx . . $ QTJSC/X86Assembler#GROUP3_OP_NOT., dst); |
| 468 | } |
| 469 | |
| 470 | void notl_mcxx . . $ QTJSC/X86Assembler#notl_m(14b7e9dabeb5dea8).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 471 | { |
| 472 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_GROUP3_Evcxx . . $ QTJSC/X86Assembler#OP_GROUP3_Ev., GROUP3_OP_NOTcxx . . $ QTJSC/X86Assembler#GROUP3_OP_NOT., base, offset); |
| 473 | } |
| 474 | |
| 475 | void orl_rrcxx . . $ QTJSC/X86Assembler#orl_rr(6e62a04367e99636).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 476 | { |
| 477 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_OR_EvGvcxx . . $ QTJSC/X86Assembler#OP_OR_EvGv., src, dst); |
| 478 | } |
| 479 | |
| 480 | void orl_mrcxx . . $ QTJSC/X86Assembler#orl_mr(f6e9aeb0b8229a4a).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 481 | { |
| 482 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_OR_GvEvcxx . . $ QTJSC/X86Assembler#OP_OR_GvEv., dst, base, offset); |
| 483 | } |
| 484 | |
| 485 | void orl_rmcxx . . $ QTJSC/X86Assembler#orl_rm(4aca99909444705d).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 486 | { |
| 487 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_OR_EvGvcxx . . $ QTJSC/X86Assembler#OP_OR_EvGv., src, base, offset); |
| 488 | } |
| 489 | |
| 490 | void orl_ircxx . . $ QTJSC/X86Assembler#orl_ir(14b7e9dabeb5dea8).(int imm, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 491 | { |
| 492 | if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(imm)) { |
| 493 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb., GROUP1_OP_ORcxx . . $ QTJSC/X86Assembler#GROUP1_OP_OR., dst); |
| 494 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 495 | } else { |
| 496 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_ORcxx . . $ QTJSC/X86Assembler#GROUP1_OP_OR., dst); |
| 497 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 498 | } |
| 499 | } |
| 500 | |
| 501 | void orl_imcxx . . $ QTJSC/X86Assembler#orl_im(46ab994925b2a7f8).(int imm, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 502 | { |
| 503 | if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(imm)) { |
| 504 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb., GROUP1_OP_ORcxx . . $ QTJSC/X86Assembler#GROUP1_OP_OR., base, offset); |
| 505 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 506 | } else { |
| 507 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_ORcxx . . $ QTJSC/X86Assembler#GROUP1_OP_OR., base, offset); |
| 508 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 509 | } |
| 510 | } |
| 511 | |
| 512 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 513 | void orq_rrcxx . . $ QTJSC/X86Assembler#orq_rr(6e62a04367e99636).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 514 | { |
| 515 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_OR_EvGvcxx . . $ QTJSC/X86Assembler#OP_OR_EvGv., src, dst); |
| 516 | } |
| 517 | |
| 518 | void orq_ircxx . . $ QTJSC/X86Assembler#orq_ir(14b7e9dabeb5dea8).(int imm, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 519 | { |
| 520 | if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(imm)) { |
| 521 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb., GROUP1_OP_ORcxx . . $ QTJSC/X86Assembler#GROUP1_OP_OR., dst); |
| 522 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 523 | } else { |
| 524 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_ORcxx . . $ QTJSC/X86Assembler#GROUP1_OP_OR., dst); |
| 525 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 526 | } |
| 527 | } |
| 528 | #else |
| 529 | void orl_im(int imm, void* addr) |
| 530 | { |
| 531 | if (CAN_SIGN_EXTEND_8_32(imm)) { |
| 532 | m_formatter.oneByteOp(OP_GROUP1_EvIb, GROUP1_OP_OR, addr); |
| 533 | m_formatter.immediate8(imm); |
| 534 | } else { |
| 535 | m_formatter.oneByteOp(OP_GROUP1_EvIz, GROUP1_OP_OR, addr); |
| 536 | m_formatter.immediate32(imm); |
| 537 | } |
| 538 | } |
| 539 | #endif |
| 540 | |
| 541 | void subl_rrcxx . . $ QTJSC/X86Assembler#subl_rr(6e62a04367e99636).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 542 | { |
| 543 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_SUB_EvGvcxx . . $ QTJSC/X86Assembler#OP_SUB_EvGv., src, dst); |
| 544 | } |
| 545 | |
| 546 | void subl_mrcxx . . $ QTJSC/X86Assembler#subl_mr(f6e9aeb0b8229a4a).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 547 | { |
| 548 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_SUB_GvEvcxx . . $ QTJSC/X86Assembler#OP_SUB_GvEv., dst, base, offset); |
| 549 | } |
| 550 | |
| 551 | void subl_rmcxx . . $ QTJSC/X86Assembler#subl_rm(4aca99909444705d).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 552 | { |
| 553 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_SUB_EvGvcxx . . $ QTJSC/X86Assembler#OP_SUB_EvGv., src, base, offset); |
| 554 | } |
| 555 | |
| 556 | void subl_ircxx . . $ QTJSC/X86Assembler#subl_ir(14b7e9dabeb5dea8).(int imm, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 557 | { |
| 558 | if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(imm)) { |
| 559 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb., GROUP1_OP_SUBcxx . . $ QTJSC/X86Assembler#GROUP1_OP_SUB., dst); |
| 560 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 561 | } else { |
| 562 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_SUBcxx . . $ QTJSC/X86Assembler#GROUP1_OP_SUB., dst); |
| 563 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 564 | } |
| 565 | } |
| 566 | |
| 567 | void subl_imcxx . . $ QTJSC/X86Assembler#subl_im(46ab994925b2a7f8).(int imm, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 568 | { |
| 569 | if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(imm)) { |
| 570 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb., GROUP1_OP_SUBcxx . . $ QTJSC/X86Assembler#GROUP1_OP_SUB., base, offset); |
| 571 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 572 | } else { |
| 573 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_SUBcxx . . $ QTJSC/X86Assembler#GROUP1_OP_SUB., base, offset); |
| 574 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 575 | } |
| 576 | } |
| 577 | |
| 578 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 579 | void subq_rrcxx . . $ QTJSC/X86Assembler#subq_rr(6e62a04367e99636).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 580 | { |
| 581 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_SUB_EvGvcxx . . $ QTJSC/X86Assembler#OP_SUB_EvGv., src, dst); |
| 582 | } |
| 583 | |
| 584 | void subq_ircxx . . $ QTJSC/X86Assembler#subq_ir(14b7e9dabeb5dea8).(int imm, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 585 | { |
| 586 | if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(imm)) { |
| 587 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb., GROUP1_OP_SUBcxx . . $ QTJSC/X86Assembler#GROUP1_OP_SUB., dst); |
| 588 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 589 | } else { |
| 590 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_SUBcxx . . $ QTJSC/X86Assembler#GROUP1_OP_SUB., dst); |
| 591 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 592 | } |
| 593 | } |
| 594 | #else |
| 595 | void subl_im(int imm, void* addr) |
| 596 | { |
| 597 | if (CAN_SIGN_EXTEND_8_32(imm)) { |
| 598 | m_formatter.oneByteOp(OP_GROUP1_EvIb, GROUP1_OP_SUB, addr); |
| 599 | m_formatter.immediate8(imm); |
| 600 | } else { |
| 601 | m_formatter.oneByteOp(OP_GROUP1_EvIz, GROUP1_OP_SUB, addr); |
| 602 | m_formatter.immediate32(imm); |
| 603 | } |
| 604 | } |
| 605 | #endif |
| 606 | |
| 607 | void xorl_rrcxx . . $ QTJSC/X86Assembler#xorl_rr(6e62a04367e99636).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 608 | { |
| 609 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_XOR_EvGvcxx . . $ QTJSC/X86Assembler#OP_XOR_EvGv., src, dst); |
| 610 | } |
| 611 | |
| 612 | void xorl_mrcxx . . $ QTJSC/X86Assembler#xorl_mr(f6e9aeb0b8229a4a).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 613 | { |
| 614 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_XOR_GvEvcxx . . $ QTJSC/X86Assembler#OP_XOR_GvEv., dst, base, offset); |
| 615 | } |
| 616 | |
| 617 | void xorl_rmcxx . . $ QTJSC/X86Assembler#xorl_rm(4aca99909444705d).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 618 | { |
| 619 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_XOR_EvGvcxx . . $ QTJSC/X86Assembler#OP_XOR_EvGv., src, base, offset); |
| 620 | } |
| 621 | |
| 622 | void xorl_imcxx . . $ QTJSC/X86Assembler#xorl_im(46ab994925b2a7f8).(int imm, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 623 | { |
| 624 | if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(imm)) { |
| 625 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb., GROUP1_OP_XORcxx . . $ QTJSC/X86Assembler#GROUP1_OP_XOR., base, offset); |
| 626 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 627 | } else { |
| 628 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_XORcxx . . $ QTJSC/X86Assembler#GROUP1_OP_XOR., base, offset); |
| 629 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 630 | } |
| 631 | } |
| 632 | |
| 633 | void xorl_ircxx . . $ QTJSC/X86Assembler#xorl_ir(14b7e9dabeb5dea8).(int imm, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 634 | { |
| 635 | if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(imm)) { |
| 636 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb., GROUP1_OP_XORcxx . . $ QTJSC/X86Assembler#GROUP1_OP_XOR., dst); |
| 637 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 638 | } else { |
| 639 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_XORcxx . . $ QTJSC/X86Assembler#GROUP1_OP_XOR., dst); |
| 640 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 641 | } |
| 642 | } |
| 643 | |
| 644 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 645 | void xorq_rrcxx . . $ QTJSC/X86Assembler#xorq_rr(6e62a04367e99636).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 646 | { |
| 647 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_XOR_EvGvcxx . . $ QTJSC/X86Assembler#OP_XOR_EvGv., src, dst); |
| 648 | } |
| 649 | |
| 650 | void xorq_ircxx . . $ QTJSC/X86Assembler#xorq_ir(14b7e9dabeb5dea8).(int imm, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 651 | { |
| 652 | if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(imm)) { |
| 653 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb., GROUP1_OP_XORcxx . . $ QTJSC/X86Assembler#GROUP1_OP_XOR., dst); |
| 654 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 655 | } else { |
| 656 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_XORcxx . . $ QTJSC/X86Assembler#GROUP1_OP_XOR., dst); |
| 657 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 658 | } |
| 659 | } |
| 660 | #endif |
| 661 | |
| 662 | void sarl_i8rcxx . . $ QTJSC/X86Assembler#sarl_i8r(14b7e9dabeb5dea8).(int imm, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 663 | { |
| 664 | if (imm == 1) |
| 665 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP2_Ev1cxx . . $ QTJSC/X86Assembler#OP_GROUP2_Ev1., GROUP2_OP_SARcxx . . $ QTJSC/X86Assembler#GROUP2_OP_SAR., dst); |
| 666 | else { |
| 667 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP2_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP2_EvIb., GROUP2_OP_SARcxx . . $ QTJSC/X86Assembler#GROUP2_OP_SAR., dst); |
| 668 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 669 | } |
| 670 | } |
| 671 | |
| 672 | void sarl_CLrcxx . . $ QTJSC/X86Assembler#sarl_CLr(dc42454ccd2e5f8e).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 673 | { |
| 674 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP2_EvCLcxx . . $ QTJSC/X86Assembler#OP_GROUP2_EvCL., GROUP2_OP_SARcxx . . $ QTJSC/X86Assembler#GROUP2_OP_SAR., dst); |
| 675 | } |
| 676 | |
| 677 | void shll_i8rcxx . . $ QTJSC/X86Assembler#shll_i8r(14b7e9dabeb5dea8).(int imm, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 678 | { |
| 679 | if (imm == 1) |
| 680 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP2_Ev1cxx . . $ QTJSC/X86Assembler#OP_GROUP2_Ev1., GROUP2_OP_SHLcxx . . $ QTJSC/X86Assembler#GROUP2_OP_SHL., dst); |
| 681 | else { |
| 682 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP2_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP2_EvIb., GROUP2_OP_SHLcxx . . $ QTJSC/X86Assembler#GROUP2_OP_SHL., dst); |
| 683 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 684 | } |
| 685 | } |
| 686 | |
| 687 | void shll_CLrcxx . . $ QTJSC/X86Assembler#shll_CLr(dc42454ccd2e5f8e).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 688 | { |
| 689 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP2_EvCLcxx . . $ QTJSC/X86Assembler#OP_GROUP2_EvCL., GROUP2_OP_SHLcxx . . $ QTJSC/X86Assembler#GROUP2_OP_SHL., dst); |
| 690 | } |
| 691 | |
| 692 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 693 | void sarq_CLrcxx . . $ QTJSC/X86Assembler#sarq_CLr(dc42454ccd2e5f8e).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 694 | { |
| 695 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_GROUP2_EvCLcxx . . $ QTJSC/X86Assembler#OP_GROUP2_EvCL., GROUP2_OP_SARcxx . . $ QTJSC/X86Assembler#GROUP2_OP_SAR., dst); |
| 696 | } |
| 697 | |
| 698 | void sarq_i8rcxx . . $ QTJSC/X86Assembler#sarq_i8r(14b7e9dabeb5dea8).(int imm, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 699 | { |
| 700 | if (imm == 1) |
| 701 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_GROUP2_Ev1cxx . . $ QTJSC/X86Assembler#OP_GROUP2_Ev1., GROUP2_OP_SARcxx . . $ QTJSC/X86Assembler#GROUP2_OP_SAR., dst); |
| 702 | else { |
| 703 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_GROUP2_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP2_EvIb., GROUP2_OP_SARcxx . . $ QTJSC/X86Assembler#GROUP2_OP_SAR., dst); |
| 704 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 705 | } |
| 706 | } |
| 707 | #endif |
| 708 | |
| 709 | void imull_rrcxx . . $ QTJSC/X86Assembler#imull_rr(6e62a04367e99636).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 710 | { |
| 711 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(929abaa047679ab8).(OP2_IMUL_GvEvcxx . . $ QTJSC/X86Assembler#OP2_IMUL_GvEv., dst, src); |
| 712 | } |
| 713 | |
| 714 | void imull_mrcxx . . $ QTJSC/X86Assembler#imull_mr(f6e9aeb0b8229a4a).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 715 | { |
| 716 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(710dc97a47a05fa4).(OP2_IMUL_GvEvcxx . . $ QTJSC/X86Assembler#OP2_IMUL_GvEv., dst, base, offset); |
| 717 | } |
| 718 | |
| 719 | void imull_i32rcxx . . $ QTJSC/X86Assembler#imull_i32r(4aca99909444705d).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, int32_tcxx . . $ int32_t# value, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 720 | { |
| 721 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_IMUL_GvEvIzcxx . . $ QTJSC/X86Assembler#OP_IMUL_GvEvIz., dst, src); |
| 722 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(value); |
| 723 | } |
| 724 | |
| 725 | void idivl_rcxx . . $ QTJSC/X86Assembler#idivl_r(dc42454ccd2e5f8e).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 726 | { |
| 727 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP3_Evcxx . . $ QTJSC/X86Assembler#OP_GROUP3_Ev., GROUP3_OP_IDIVcxx . . $ QTJSC/X86Assembler#GROUP3_OP_IDIV., dst); |
| 728 | } |
| 729 | |
| 730 | // Comparisons: |
| 731 | |
| 732 | void cmpl_rrcxx . . $ QTJSC/X86Assembler#cmpl_rr(6e62a04367e99636).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 733 | { |
| 734 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_CMP_EvGvcxx . . $ QTJSC/X86Assembler#OP_CMP_EvGv., src, dst); |
| 735 | } |
| 736 | |
| 737 | void cmpl_rmcxx . . $ QTJSC/X86Assembler#cmpl_rm(4aca99909444705d).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 738 | { |
| 739 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_CMP_EvGvcxx . . $ QTJSC/X86Assembler#OP_CMP_EvGv., src, base, offset); |
| 740 | } |
| 741 | |
| 742 | void cmpl_mrcxx . . $ QTJSC/X86Assembler#cmpl_mr(f6e9aeb0b8229a4a).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src) |
| 743 | { |
| 744 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_CMP_GvEvcxx . . $ QTJSC/X86Assembler#OP_CMP_GvEv., src, base, offset); |
| 745 | } |
| 746 | |
| 747 | void cmpl_ircxx . . $ QTJSC/X86Assembler#cmpl_ir(14b7e9dabeb5dea8).(int imm, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 748 | { |
| 749 | if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(imm)) { |
| 750 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb., GROUP1_OP_CMPcxx . . $ QTJSC/X86Assembler#GROUP1_OP_CMP., dst); |
| 751 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 752 | } else { |
| 753 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_CMPcxx . . $ QTJSC/X86Assembler#GROUP1_OP_CMP., dst); |
| 754 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 755 | } |
| 756 | } |
| 757 | |
| 758 | void cmpl_ir_force32cxx . . $ QTJSC/X86Assembler#cmpl_ir_force32(14b7e9dabeb5dea8).(int imm, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 759 | { |
| 760 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_CMPcxx . . $ QTJSC/X86Assembler#GROUP1_OP_CMP., dst); |
| 761 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 762 | } |
| 763 | |
| 764 | void cmpl_imcxx . . $ QTJSC/X86Assembler#cmpl_im(46ab994925b2a7f8).(int imm, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 765 | { |
| 766 | if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(imm)) { |
| 767 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb., GROUP1_OP_CMPcxx . . $ QTJSC/X86Assembler#GROUP1_OP_CMP., base, offset); |
| 768 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 769 | } else { |
| 770 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_CMPcxx . . $ QTJSC/X86Assembler#GROUP1_OP_CMP., base, offset); |
| 771 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 772 | } |
| 773 | } |
| 774 | |
| 775 | void cmpl_imcxx . . $ QTJSC/X86Assembler#cmpl_im(2c586809460fef53).(int imm, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# index, int scale) |
| 776 | { |
| 777 | if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(imm)) { |
| 778 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(7297999fee0611c7).(OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb., GROUP1_OP_CMPcxx . . $ QTJSC/X86Assembler#GROUP1_OP_CMP., base, index, scale, offset); |
| 779 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 780 | } else { |
| 781 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(7297999fee0611c7).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_CMPcxx . . $ QTJSC/X86Assembler#GROUP1_OP_CMP., base, index, scale, offset); |
| 782 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 783 | } |
| 784 | } |
| 785 | |
| 786 | void cmpl_im_force32cxx . . $ QTJSC/X86Assembler#cmpl_im_force32(46ab994925b2a7f8).(int imm, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 787 | { |
| 788 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_CMPcxx . . $ QTJSC/X86Assembler#GROUP1_OP_CMP., base, offset); |
| 789 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 790 | } |
| 791 | |
| 792 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 793 | void cmpq_rrcxx . . $ QTJSC/X86Assembler#cmpq_rr(6e62a04367e99636).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 794 | { |
| 795 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_CMP_EvGvcxx . . $ QTJSC/X86Assembler#OP_CMP_EvGv., src, dst); |
| 796 | } |
| 797 | |
| 798 | void cmpq_rmcxx . . $ QTJSC/X86Assembler#cmpq_rm(4aca99909444705d).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 799 | { |
| 800 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(b5846a5475893b85).(OP_CMP_EvGvcxx . . $ QTJSC/X86Assembler#OP_CMP_EvGv., src, base, offset); |
| 801 | } |
| 802 | |
| 803 | void cmpq_mrcxx . . $ QTJSC/X86Assembler#cmpq_mr(f6e9aeb0b8229a4a).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src) |
| 804 | { |
| 805 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(b5846a5475893b85).(OP_CMP_GvEvcxx . . $ QTJSC/X86Assembler#OP_CMP_GvEv., src, base, offset); |
| 806 | } |
| 807 | |
| 808 | void cmpq_ircxx . . $ QTJSC/X86Assembler#cmpq_ir(14b7e9dabeb5dea8).(int imm, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 809 | { |
| 810 | if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(imm)) { |
| 811 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb., GROUP1_OP_CMPcxx . . $ QTJSC/X86Assembler#GROUP1_OP_CMP., dst); |
| 812 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 813 | } else { |
| 814 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_CMPcxx . . $ QTJSC/X86Assembler#GROUP1_OP_CMP., dst); |
| 815 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 816 | } |
| 817 | } |
| 818 | |
| 819 | void cmpq_imcxx . . $ QTJSC/X86Assembler#cmpq_im(46ab994925b2a7f8).(int imm, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 820 | { |
| 821 | if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(imm)) { |
| 822 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(b5846a5475893b85).(OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb., GROUP1_OP_CMPcxx . . $ QTJSC/X86Assembler#GROUP1_OP_CMP., base, offset); |
| 823 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 824 | } else { |
| 825 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(b5846a5475893b85).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_CMPcxx . . $ QTJSC/X86Assembler#GROUP1_OP_CMP., base, offset); |
| 826 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 827 | } |
| 828 | } |
| 829 | |
| 830 | void cmpq_imcxx . . $ QTJSC/X86Assembler#cmpq_im(2c586809460fef53).(int imm, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# index, int scale) |
| 831 | { |
| 832 | if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(imm)) { |
| 833 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(7297999fee0611c7).(OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb., GROUP1_OP_CMPcxx . . $ QTJSC/X86Assembler#GROUP1_OP_CMP., base, index, scale, offset); |
| 834 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 835 | } else { |
| 836 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(7297999fee0611c7).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_CMPcxx . . $ QTJSC/X86Assembler#GROUP1_OP_CMP., base, index, scale, offset); |
| 837 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 838 | } |
| 839 | } |
| 840 | #else |
| 841 | void cmpl_rm(RegisterID reg, void* addr) |
| 842 | { |
| 843 | m_formatter.oneByteOp(OP_CMP_EvGv, reg, addr); |
| 844 | } |
| 845 | |
| 846 | void cmpl_im(int imm, void* addr) |
| 847 | { |
| 848 | if (CAN_SIGN_EXTEND_8_32(imm)) { |
| 849 | m_formatter.oneByteOp(OP_GROUP1_EvIb, GROUP1_OP_CMP, addr); |
| 850 | m_formatter.immediate8(imm); |
| 851 | } else { |
| 852 | m_formatter.oneByteOp(OP_GROUP1_EvIz, GROUP1_OP_CMP, addr); |
| 853 | m_formatter.immediate32(imm); |
| 854 | } |
| 855 | } |
| 856 | #endif |
| 857 | |
| 858 | void cmpw_rmcxx . . $ QTJSC/X86Assembler#cmpw_rm(ee28c2e7945f50d9).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# index, int scale) |
| 859 | { |
| 860 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_OPERAND_SIZEcxx . . $ QTJSC/X86Assembler#PRE_OPERAND_SIZE.); |
| 861 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(7297999fee0611c7).(OP_CMP_EvGvcxx . . $ QTJSC/X86Assembler#OP_CMP_EvGv., src, base, index, scale, offset); |
| 862 | } |
| 863 | |
| 864 | void cmpw_imcxx . . $ QTJSC/X86Assembler#cmpw_im(2c586809460fef53).(int imm, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# index, int scale) |
| 865 | { |
| 866 | if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(imm)) { |
| 867 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_OPERAND_SIZEcxx . . $ QTJSC/X86Assembler#PRE_OPERAND_SIZE.); |
| 868 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(7297999fee0611c7).(OP_GROUP1_EvIbcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIb., GROUP1_OP_CMPcxx . . $ QTJSC/X86Assembler#GROUP1_OP_CMP., base, index, scale, offset); |
| 869 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 870 | } else { |
| 871 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_OPERAND_SIZEcxx . . $ QTJSC/X86Assembler#PRE_OPERAND_SIZE.); |
| 872 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(7297999fee0611c7).(OP_GROUP1_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP1_EvIz., GROUP1_OP_CMPcxx . . $ QTJSC/X86Assembler#GROUP1_OP_CMP., base, index, scale, offset); |
| 873 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate16cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate16(d4f767463ce0a6b3).(imm); |
| 874 | } |
| 875 | } |
| 876 | |
| 877 | void testl_rrcxx . . $ QTJSC/X86Assembler#testl_rr(6e62a04367e99636).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 878 | { |
| 879 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_TEST_EvGvcxx . . $ QTJSC/X86Assembler#OP_TEST_EvGv., src, dst); |
| 880 | } |
| 881 | |
| 882 | void testl_i32rcxx . . $ QTJSC/X86Assembler#testl_i32r(14b7e9dabeb5dea8).(int imm, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 883 | { |
| 884 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP3_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP3_EvIz., GROUP3_OP_TESTcxx . . $ QTJSC/X86Assembler#GROUP3_OP_TEST., dst); |
| 885 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 886 | } |
| 887 | |
| 888 | void testl_i32mcxx . . $ QTJSC/X86Assembler#testl_i32m(46ab994925b2a7f8).(int imm, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 889 | { |
| 890 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_GROUP3_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP3_EvIz., GROUP3_OP_TESTcxx . . $ QTJSC/X86Assembler#GROUP3_OP_TEST., base, offset); |
| 891 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 892 | } |
| 893 | |
| 894 | void testl_i32mcxx . . $ QTJSC/X86Assembler#testl_i32m(2c586809460fef53).(int imm, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# index, int scale) |
| 895 | { |
| 896 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(7297999fee0611c7).(OP_GROUP3_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP3_EvIz., GROUP3_OP_TESTcxx . . $ QTJSC/X86Assembler#GROUP3_OP_TEST., base, index, scale, offset); |
| 897 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 898 | } |
| 899 | |
| 900 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 901 | void testq_rrcxx . . $ QTJSC/X86Assembler#testq_rr(6e62a04367e99636).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 902 | { |
| 903 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_TEST_EvGvcxx . . $ QTJSC/X86Assembler#OP_TEST_EvGv., src, dst); |
| 904 | } |
| 905 | |
| 906 | void testq_i32rcxx . . $ QTJSC/X86Assembler#testq_i32r(14b7e9dabeb5dea8).(int imm, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 907 | { |
| 908 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_GROUP3_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP3_EvIz., GROUP3_OP_TESTcxx . . $ QTJSC/X86Assembler#GROUP3_OP_TEST., dst); |
| 909 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 910 | } |
| 911 | |
| 912 | void testq_i32mcxx . . $ QTJSC/X86Assembler#testq_i32m(46ab994925b2a7f8).(int imm, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 913 | { |
| 914 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(b5846a5475893b85).(OP_GROUP3_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP3_EvIz., GROUP3_OP_TESTcxx . . $ QTJSC/X86Assembler#GROUP3_OP_TEST., base, offset); |
| 915 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 916 | } |
| 917 | |
| 918 | void testq_i32mcxx . . $ QTJSC/X86Assembler#testq_i32m(2c586809460fef53).(int imm, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# index, int scale) |
| 919 | { |
| 920 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(7297999fee0611c7).(OP_GROUP3_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP3_EvIz., GROUP3_OP_TESTcxx . . $ QTJSC/X86Assembler#GROUP3_OP_TEST., base, index, scale, offset); |
| 921 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 922 | } |
| 923 | #endif |
| 924 | |
| 925 | void testw_rrcxx . . $ QTJSC/X86Assembler#testw_rr(6e62a04367e99636).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 926 | { |
| 927 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_OPERAND_SIZEcxx . . $ QTJSC/X86Assembler#PRE_OPERAND_SIZE.); |
| 928 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_TEST_EvGvcxx . . $ QTJSC/X86Assembler#OP_TEST_EvGv., src, dst); |
| 929 | } |
| 930 | |
| 931 | void testb_i8rcxx . . $ QTJSC/X86Assembler#testb_i8r(14b7e9dabeb5dea8).(int imm, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 932 | { |
| 933 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp8(18215f374e51567).(OP_GROUP3_EbIbcxx . . $ QTJSC/X86Assembler#OP_GROUP3_EbIb., GROUP3_OP_TESTcxx . . $ QTJSC/X86Assembler#GROUP3_OP_TEST., dst); |
| 934 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(imm); |
| 935 | } |
| 936 | |
| 937 | void setCC_rcxx . . $ QTJSC/X86Assembler#setCC_r(3b32816fffcfdc4c).(Conditioncxx . . $ QTJSC/X86Assembler#Condition# cond, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 938 | { |
| 939 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOp8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp8(4f37558280a89b40).(setccOpcodecxx . . $ QTJSC/X86Assembler#setccOpcode(ff49f415e60c2041).(cond), (GroupOpcodeIDcxx . . $ QTJSC/X86Assembler#GroupOpcodeID#)0, dst); |
| 940 | } |
| 941 | |
| 942 | void sete_rcxx . . $ QTJSC/X86Assembler#sete_r(dc42454ccd2e5f8e).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 943 | { |
| 944 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOp8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp8(4f37558280a89b40).(setccOpcodecxx . . $ QTJSC/X86Assembler#setccOpcode(ff49f415e60c2041).(ConditionEcxx . . $ QTJSC/X86Assembler#ConditionE.), (GroupOpcodeIDcxx . . $ QTJSC/X86Assembler#GroupOpcodeID#)0, dst); |
| 945 | } |
| 946 | |
| 947 | void setz_rcxx . . $ QTJSC/X86Assembler#setz_r(dc42454ccd2e5f8e).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 948 | { |
| 949 | sete_rcxx . . $ QTJSC/X86Assembler#sete_r(dc42454ccd2e5f8e).(dst); |
| 950 | } |
| 951 | |
| 952 | void setne_rcxx . . $ QTJSC/X86Assembler#setne_r(dc42454ccd2e5f8e).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 953 | { |
| 954 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOp8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp8(4f37558280a89b40).(setccOpcodecxx . . $ QTJSC/X86Assembler#setccOpcode(ff49f415e60c2041).(ConditionNEcxx . . $ QTJSC/X86Assembler#ConditionNE.), (GroupOpcodeIDcxx . . $ QTJSC/X86Assembler#GroupOpcodeID#)0, dst); |
| 955 | } |
| 956 | |
| 957 | void setnz_rcxx . . $ QTJSC/X86Assembler#setnz_r(dc42454ccd2e5f8e).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 958 | { |
| 959 | setne_rcxx . . $ QTJSC/X86Assembler#setne_r(dc42454ccd2e5f8e).(dst); |
| 960 | } |
| 961 | |
| 962 | // Various move ops: |
| 963 | |
| 964 | void cdqcxx . . $ QTJSC/X86Assembler#cdq(49f6e7a06ebc5aa8).() |
| 965 | { |
| 966 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(c7c417869d87a702).(OP_CDQcxx . . $ QTJSC/X86Assembler#OP_CDQ.); |
| 967 | } |
| 968 | |
| 969 | void xchgl_rrcxx . . $ QTJSC/X86Assembler#xchgl_rr(6e62a04367e99636).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 970 | { |
| 971 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_XCHG_EvGvcxx . . $ QTJSC/X86Assembler#OP_XCHG_EvGv., src, dst); |
| 972 | } |
| 973 | |
| 974 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 975 | void xchgq_rrcxx . . $ QTJSC/X86Assembler#xchgq_rr(6e62a04367e99636).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 976 | { |
| 977 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_XCHG_EvGvcxx . . $ QTJSC/X86Assembler#OP_XCHG_EvGv., src, dst); |
| 978 | } |
| 979 | #endif |
| 980 | |
| 981 | void movl_rrcxx . . $ QTJSC/X86Assembler#movl_rr(6e62a04367e99636).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 982 | { |
| 983 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_MOV_EvGvcxx . . $ QTJSC/X86Assembler#OP_MOV_EvGv., src, dst); |
| 984 | } |
| 985 | |
| 986 | void movl_rmcxx . . $ QTJSC/X86Assembler#movl_rm(4aca99909444705d).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 987 | { |
| 988 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_MOV_EvGvcxx . . $ QTJSC/X86Assembler#OP_MOV_EvGv., src, base, offset); |
| 989 | } |
| 990 | |
| 991 | void movl_rm_disp32cxx . . $ QTJSC/X86Assembler#movl_rm_disp32(4aca99909444705d).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 992 | { |
| 993 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp_disp32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp_disp32(b5846a5475893b85).(OP_MOV_EvGvcxx . . $ QTJSC/X86Assembler#OP_MOV_EvGv., src, base, offset); |
| 994 | } |
| 995 | |
| 996 | void movl_rmcxx . . $ QTJSC/X86Assembler#movl_rm(ee28c2e7945f50d9).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# index, int scale) |
| 997 | { |
| 998 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(7297999fee0611c7).(OP_MOV_EvGvcxx . . $ QTJSC/X86Assembler#OP_MOV_EvGv., src, base, index, scale, offset); |
| 999 | } |
| 1000 | |
| 1001 | void movl_mEAXcxx . . $ QTJSC/X86Assembler#movl_mEAX(5d22bdacc48458e8).(void* addr) |
| 1002 | { |
| 1003 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(c7c417869d87a702).(OP_MOV_EAXOvcxx . . $ QTJSC/X86Assembler#OP_MOV_EAXOv.); |
| 1004 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 1005 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate64(1624ee8275b10bda).(reinterpret_cast<int64_tcxx . . $ int64_t#>(addr)); |
| 1006 | #else |
| 1007 | m_formatter.immediate32(reinterpret_cast<int>(addr)); |
| 1008 | #endif |
| 1009 | } |
| 1010 | |
| 1011 | void movl_mrcxx . . $ QTJSC/X86Assembler#movl_mr(f6e9aeb0b8229a4a).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 1012 | { |
| 1013 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_MOV_GvEvcxx . . $ QTJSC/X86Assembler#OP_MOV_GvEv., dst, base, offset); |
| 1014 | } |
| 1015 | |
| 1016 | void movl_mr_disp32cxx . . $ QTJSC/X86Assembler#movl_mr_disp32(f6e9aeb0b8229a4a).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 1017 | { |
| 1018 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp_disp32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp_disp32(b5846a5475893b85).(OP_MOV_GvEvcxx . . $ QTJSC/X86Assembler#OP_MOV_GvEv., dst, base, offset); |
| 1019 | } |
| 1020 | |
| 1021 | void movl_mrcxx . . $ QTJSC/X86Assembler#movl_mr(7efb39666a86f4e4).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# index, int scale, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 1022 | { |
| 1023 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(7297999fee0611c7).(OP_MOV_GvEvcxx . . $ QTJSC/X86Assembler#OP_MOV_GvEv., dst, base, index, scale, offset); |
| 1024 | } |
| 1025 | |
| 1026 | void movl_i32rcxx . . $ QTJSC/X86Assembler#movl_i32r(14b7e9dabeb5dea8).(int imm, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 1027 | { |
| 1028 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(2f66e55da4fef8c8).(OP_MOV_EAXIvcxx . . $ QTJSC/X86Assembler#OP_MOV_EAXIv., dst); |
| 1029 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 1030 | } |
| 1031 | |
| 1032 | void movl_i32mcxx . . $ QTJSC/X86Assembler#movl_i32m(46ab994925b2a7f8).(int imm, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 1033 | { |
| 1034 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_GROUP11_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP11_EvIz., GROUP11_MOVcxx . . $ QTJSC/X86Assembler#GROUP11_MOV., base, offset); |
| 1035 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 1036 | } |
| 1037 | |
| 1038 | void movl_EAXmcxx . . $ QTJSC/X86Assembler#movl_EAXm(5d22bdacc48458e8).(void* addr) |
| 1039 | { |
| 1040 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(c7c417869d87a702).(OP_MOV_OvEAXcxx . . $ QTJSC/X86Assembler#OP_MOV_OvEAX.); |
| 1041 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 1042 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate64(1624ee8275b10bda).(reinterpret_cast<int64_tcxx . . $ int64_t#>(addr)); |
| 1043 | #else |
| 1044 | m_formatter.immediate32(reinterpret_cast<int>(addr)); |
| 1045 | #endif |
| 1046 | } |
| 1047 | |
| 1048 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 1049 | void movq_rrcxx . . $ QTJSC/X86Assembler#movq_rr(6e62a04367e99636).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 1050 | { |
| 1051 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_MOV_EvGvcxx . . $ QTJSC/X86Assembler#OP_MOV_EvGv., src, dst); |
| 1052 | } |
| 1053 | |
| 1054 | void movq_rmcxx . . $ QTJSC/X86Assembler#movq_rm(4aca99909444705d).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 1055 | { |
| 1056 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(b5846a5475893b85).(OP_MOV_EvGvcxx . . $ QTJSC/X86Assembler#OP_MOV_EvGv., src, base, offset); |
| 1057 | } |
| 1058 | |
| 1059 | void movq_rm_disp32cxx . . $ QTJSC/X86Assembler#movq_rm_disp32(4aca99909444705d).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 1060 | { |
| 1061 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64_disp32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64_disp32(b5846a5475893b85).(OP_MOV_EvGvcxx . . $ QTJSC/X86Assembler#OP_MOV_EvGv., src, base, offset); |
| 1062 | } |
| 1063 | |
| 1064 | void movq_rmcxx . . $ QTJSC/X86Assembler#movq_rm(ee28c2e7945f50d9).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# index, int scale) |
| 1065 | { |
| 1066 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(7297999fee0611c7).(OP_MOV_EvGvcxx . . $ QTJSC/X86Assembler#OP_MOV_EvGv., src, base, index, scale, offset); |
| 1067 | } |
| 1068 | |
| 1069 | void movq_mEAXcxx . . $ QTJSC/X86Assembler#movq_mEAX(5d22bdacc48458e8).(void* addr) |
| 1070 | { |
| 1071 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(c7c417869d87a702).(OP_MOV_EAXOvcxx . . $ QTJSC/X86Assembler#OP_MOV_EAXOv.); |
| 1072 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate64(1624ee8275b10bda).(reinterpret_cast<int64_tcxx . . $ int64_t#>(addr)); |
| 1073 | } |
| 1074 | |
| 1075 | void movq_EAXmcxx . . $ QTJSC/X86Assembler#movq_EAXm(5d22bdacc48458e8).(void* addr) |
| 1076 | { |
| 1077 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(c7c417869d87a702).(OP_MOV_OvEAXcxx . . $ QTJSC/X86Assembler#OP_MOV_OvEAX.); |
| 1078 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate64(1624ee8275b10bda).(reinterpret_cast<int64_tcxx . . $ int64_t#>(addr)); |
| 1079 | } |
| 1080 | |
| 1081 | void movq_mrcxx . . $ QTJSC/X86Assembler#movq_mr(f6e9aeb0b8229a4a).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 1082 | { |
| 1083 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(b5846a5475893b85).(OP_MOV_GvEvcxx . . $ QTJSC/X86Assembler#OP_MOV_GvEv., dst, base, offset); |
| 1084 | } |
| 1085 | |
| 1086 | void movq_mr_disp32cxx . . $ QTJSC/X86Assembler#movq_mr_disp32(f6e9aeb0b8229a4a).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 1087 | { |
| 1088 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64_disp32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64_disp32(b5846a5475893b85).(OP_MOV_GvEvcxx . . $ QTJSC/X86Assembler#OP_MOV_GvEv., dst, base, offset); |
| 1089 | } |
| 1090 | |
| 1091 | void movq_mrcxx . . $ QTJSC/X86Assembler#movq_mr(7efb39666a86f4e4).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# index, int scale, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 1092 | { |
| 1093 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(7297999fee0611c7).(OP_MOV_GvEvcxx . . $ QTJSC/X86Assembler#OP_MOV_GvEv., dst, base, index, scale, offset); |
| 1094 | } |
| 1095 | |
| 1096 | void movq_i32mcxx . . $ QTJSC/X86Assembler#movq_i32m(46ab994925b2a7f8).(int imm, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 1097 | { |
| 1098 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(b5846a5475893b85).(OP_GROUP11_EvIzcxx . . $ QTJSC/X86Assembler#OP_GROUP11_EvIz., GROUP11_MOVcxx . . $ QTJSC/X86Assembler#GROUP11_MOV., base, offset); |
| 1099 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(imm); |
| 1100 | } |
| 1101 | |
| 1102 | void movq_i64rcxx . . $ QTJSC/X86Assembler#movq_i64r(5b36004d4e626a6).(int64_tcxx . . $ int64_t# imm, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 1103 | { |
| 1104 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(2f66e55da4fef8c8).(OP_MOV_EAXIvcxx . . $ QTJSC/X86Assembler#OP_MOV_EAXIv., dst); |
| 1105 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate64(1624ee8275b10bda).(imm); |
| 1106 | } |
| 1107 | |
| 1108 | void movsxd_rrcxx . . $ QTJSC/X86Assembler#movsxd_rr(6e62a04367e99636).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 1109 | { |
| 1110 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OP_MOVSXD_GvEvcxx . . $ QTJSC/X86Assembler#OP_MOVSXD_GvEv., dst, src); |
| 1111 | } |
| 1112 | |
| 1113 | |
| 1114 | #else |
| 1115 | void movl_rm(RegisterID src, void* addr) |
| 1116 | { |
| 1117 | if (src == X86Registers::eax) |
| 1118 | movl_EAXm(addr); |
| 1119 | else |
| 1120 | m_formatter.oneByteOp(OP_MOV_EvGv, src, addr); |
| 1121 | } |
| 1122 | |
| 1123 | void movl_mr(void* addr, RegisterID dst) |
| 1124 | { |
| 1125 | if (dst == X86Registers::eax) |
| 1126 | movl_mEAX(addr); |
| 1127 | else |
| 1128 | m_formatter.oneByteOp(OP_MOV_GvEv, dst, addr); |
| 1129 | } |
| 1130 | |
| 1131 | void movl_i32m(int imm, void* addr) |
| 1132 | { |
| 1133 | m_formatter.oneByteOp(OP_GROUP11_EvIz, GROUP11_MOV, addr); |
| 1134 | m_formatter.immediate32(imm); |
| 1135 | } |
| 1136 | #endif |
| 1137 | |
| 1138 | void movzwl_mrcxx . . $ QTJSC/X86Assembler#movzwl_mr(f6e9aeb0b8229a4a).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 1139 | { |
| 1140 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(710dc97a47a05fa4).(OP2_MOVZX_GvEwcxx . . $ QTJSC/X86Assembler#OP2_MOVZX_GvEw., dst, base, offset); |
| 1141 | } |
| 1142 | |
| 1143 | void movzwl_mrcxx . . $ QTJSC/X86Assembler#movzwl_mr(7efb39666a86f4e4).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# index, int scale, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 1144 | { |
| 1145 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(92fd81479a11f100).(OP2_MOVZX_GvEwcxx . . $ QTJSC/X86Assembler#OP2_MOVZX_GvEw., dst, base, index, scale, offset); |
| 1146 | } |
| 1147 | |
| 1148 | void movzbl_rrcxx . . $ QTJSC/X86Assembler#movzbl_rr(6e62a04367e99636).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 1149 | { |
| 1150 | // In 64-bit, this may cause an unnecessary REX to be planted (if the dst register |
| 1151 | // is in the range ESP-EDI, and the src would not have required a REX). Unneeded |
| 1152 | // REX prefixes are defined to be silently ignored by the processor. |
| 1153 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOp8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp8(41551088a3e4b746).(OP2_MOVZX_GvEbcxx . . $ QTJSC/X86Assembler#OP2_MOVZX_GvEb., dst, src); |
| 1154 | } |
| 1155 | |
| 1156 | void leal_mrcxx . . $ QTJSC/X86Assembler#leal_mr(f6e9aeb0b8229a4a).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 1157 | { |
| 1158 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_LEAcxx . . $ QTJSC/X86Assembler#OP_LEA., dst, base, offset); |
| 1159 | } |
| 1160 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 1161 | void leaq_mrcxx . . $ QTJSC/X86Assembler#leaq_mr(f6e9aeb0b8229a4a).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 1162 | { |
| 1163 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(b5846a5475893b85).(OP_LEAcxx . . $ QTJSC/X86Assembler#OP_LEA., dst, base, offset); |
| 1164 | } |
| 1165 | #endif |
| 1166 | |
| 1167 | // Flow control: |
| 1168 | |
| 1169 | JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# callcxx . . $ QTJSC/X86Assembler#call(8149b48f2c695cb3).() |
| 1170 | { |
| 1171 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(c7c417869d87a702).(OP_CALL_rel32cxx . . $ QTJSC/X86Assembler#OP_CALL_rel32.); |
| 1172 | return m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediateRel32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediateRel32(8149b48f2c695cb3).(); |
| 1173 | } |
| 1174 | |
| 1175 | JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# callcxx . . $ QTJSC/X86Assembler#call(596d987c7aef9cfc).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 1176 | { |
| 1177 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP5_Evcxx . . $ QTJSC/X86Assembler#OP_GROUP5_Ev., GROUP5_OP_CALLNcxx . . $ QTJSC/X86Assembler#GROUP5_OP_CALLN., dst); |
| 1178 | return JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc#JmpSrc(d4f767463ce0a6b3).(m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..sizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#size(fe4d2d262d4164a8).()); |
| 1179 | } |
| 1180 | |
| 1181 | void call_mcxx . . $ QTJSC/X86Assembler#call_m(14b7e9dabeb5dea8).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 1182 | { |
| 1183 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_GROUP5_Evcxx . . $ QTJSC/X86Assembler#OP_GROUP5_Ev., GROUP5_OP_CALLNcxx . . $ QTJSC/X86Assembler#GROUP5_OP_CALLN., base, offset); |
| 1184 | } |
| 1185 | |
| 1186 | JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# jmpcxx . . $ QTJSC/X86Assembler#jmp(8149b48f2c695cb3).() |
| 1187 | { |
| 1188 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(c7c417869d87a702).(OP_JMP_rel32cxx . . $ QTJSC/X86Assembler#OP_JMP_rel32.); |
| 1189 | return m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediateRel32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediateRel32(8149b48f2c695cb3).(); |
| 1190 | } |
| 1191 | |
| 1192 | // Return a JmpSrc so we have a label to the jump, so we can use this |
| 1193 | // To make a tail recursive call on x86-64. The MacroAssembler |
| 1194 | // really shouldn't wrap this as a Jump, since it can't be linked. :-/ |
| 1195 | JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# jmp_rcxx . . $ QTJSC/X86Assembler#jmp_r(596d987c7aef9cfc).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 1196 | { |
| 1197 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OP_GROUP5_Evcxx . . $ QTJSC/X86Assembler#OP_GROUP5_Ev., GROUP5_OP_JMPNcxx . . $ QTJSC/X86Assembler#GROUP5_OP_JMPN., dst); |
| 1198 | return JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc#JmpSrc(d4f767463ce0a6b3).(m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..sizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#size(fe4d2d262d4164a8).()); |
| 1199 | } |
| 1200 | |
| 1201 | void jmp_mcxx . . $ QTJSC/X86Assembler#jmp_m(14b7e9dabeb5dea8).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 1202 | { |
| 1203 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OP_GROUP5_Evcxx . . $ QTJSC/X86Assembler#OP_GROUP5_Ev., GROUP5_OP_JMPNcxx . . $ QTJSC/X86Assembler#GROUP5_OP_JMPN., base, offset); |
| 1204 | } |
| 1205 | |
| 1206 | JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# jnecxx . . $ QTJSC/X86Assembler#jne(8149b48f2c695cb3).() |
| 1207 | { |
| 1208 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(86f106b7f79d583e).(jccRel32cxx . . $ QTJSC/X86Assembler#jccRel32(ff49f415e60c2041).(ConditionNEcxx . . $ QTJSC/X86Assembler#ConditionNE.)); |
| 1209 | return m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediateRel32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediateRel32(8149b48f2c695cb3).(); |
| 1210 | } |
| 1211 | |
| 1212 | JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# jnzcxx . . $ QTJSC/X86Assembler#jnz(8149b48f2c695cb3).() |
| 1213 | { |
| 1214 | return jnecxx . . $ QTJSC/X86Assembler#jne(8149b48f2c695cb3).(); |
| 1215 | } |
| 1216 | |
| 1217 | JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# jecxx . . $ QTJSC/X86Assembler#je(8149b48f2c695cb3).() |
| 1218 | { |
| 1219 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(86f106b7f79d583e).(jccRel32cxx . . $ QTJSC/X86Assembler#jccRel32(ff49f415e60c2041).(ConditionEcxx . . $ QTJSC/X86Assembler#ConditionE.)); |
| 1220 | return m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediateRel32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediateRel32(8149b48f2c695cb3).(); |
| 1221 | } |
| 1222 | |
| 1223 | JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# jzcxx . . $ QTJSC/X86Assembler#jz(8149b48f2c695cb3).() |
| 1224 | { |
| 1225 | return jecxx . . $ QTJSC/X86Assembler#je(8149b48f2c695cb3).(); |
| 1226 | } |
| 1227 | |
| 1228 | JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# jlcxx . . $ QTJSC/X86Assembler#jl(8149b48f2c695cb3).() |
| 1229 | { |
| 1230 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(86f106b7f79d583e).(jccRel32cxx . . $ QTJSC/X86Assembler#jccRel32(ff49f415e60c2041).(ConditionLcxx . . $ QTJSC/X86Assembler#ConditionL.)); |
| 1231 | return m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediateRel32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediateRel32(8149b48f2c695cb3).(); |
| 1232 | } |
| 1233 | |
| 1234 | JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# jbcxx . . $ QTJSC/X86Assembler#jb(8149b48f2c695cb3).() |
| 1235 | { |
| 1236 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(86f106b7f79d583e).(jccRel32cxx . . $ QTJSC/X86Assembler#jccRel32(ff49f415e60c2041).(ConditionBcxx . . $ QTJSC/X86Assembler#ConditionB.)); |
| 1237 | return m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediateRel32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediateRel32(8149b48f2c695cb3).(); |
| 1238 | } |
| 1239 | |
| 1240 | JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# jlecxx . . $ QTJSC/X86Assembler#jle(8149b48f2c695cb3).() |
| 1241 | { |
| 1242 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(86f106b7f79d583e).(jccRel32cxx . . $ QTJSC/X86Assembler#jccRel32(ff49f415e60c2041).(ConditionLEcxx . . $ QTJSC/X86Assembler#ConditionLE.)); |
| 1243 | return m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediateRel32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediateRel32(8149b48f2c695cb3).(); |
| 1244 | } |
| 1245 | |
| 1246 | JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# jbecxx . . $ QTJSC/X86Assembler#jbe(8149b48f2c695cb3).() |
| 1247 | { |
| 1248 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(86f106b7f79d583e).(jccRel32cxx . . $ QTJSC/X86Assembler#jccRel32(ff49f415e60c2041).(ConditionBEcxx . . $ QTJSC/X86Assembler#ConditionBE.)); |
| 1249 | return m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediateRel32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediateRel32(8149b48f2c695cb3).(); |
| 1250 | } |
| 1251 | |
| 1252 | JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# jgecxx . . $ QTJSC/X86Assembler#jge(8149b48f2c695cb3).() |
| 1253 | { |
| 1254 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(86f106b7f79d583e).(jccRel32cxx . . $ QTJSC/X86Assembler#jccRel32(ff49f415e60c2041).(ConditionGEcxx . . $ QTJSC/X86Assembler#ConditionGE.)); |
| 1255 | return m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediateRel32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediateRel32(8149b48f2c695cb3).(); |
| 1256 | } |
| 1257 | |
| 1258 | JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# jgcxx . . $ QTJSC/X86Assembler#jg(8149b48f2c695cb3).() |
| 1259 | { |
| 1260 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(86f106b7f79d583e).(jccRel32cxx . . $ QTJSC/X86Assembler#jccRel32(ff49f415e60c2041).(ConditionGcxx . . $ QTJSC/X86Assembler#ConditionG.)); |
| 1261 | return m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediateRel32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediateRel32(8149b48f2c695cb3).(); |
| 1262 | } |
| 1263 | |
| 1264 | JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# jacxx . . $ QTJSC/X86Assembler#ja(8149b48f2c695cb3).() |
| 1265 | { |
| 1266 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(86f106b7f79d583e).(jccRel32cxx . . $ QTJSC/X86Assembler#jccRel32(ff49f415e60c2041).(ConditionAcxx . . $ QTJSC/X86Assembler#ConditionA.)); |
| 1267 | return m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediateRel32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediateRel32(8149b48f2c695cb3).(); |
| 1268 | } |
| 1269 | |
| 1270 | JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# jaecxx . . $ QTJSC/X86Assembler#jae(8149b48f2c695cb3).() |
| 1271 | { |
| 1272 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(86f106b7f79d583e).(jccRel32cxx . . $ QTJSC/X86Assembler#jccRel32(ff49f415e60c2041).(ConditionAEcxx . . $ QTJSC/X86Assembler#ConditionAE.)); |
| 1273 | return m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediateRel32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediateRel32(8149b48f2c695cb3).(); |
| 1274 | } |
| 1275 | |
| 1276 | JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# jocxx . . $ QTJSC/X86Assembler#jo(8149b48f2c695cb3).() |
| 1277 | { |
| 1278 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(86f106b7f79d583e).(jccRel32cxx . . $ QTJSC/X86Assembler#jccRel32(ff49f415e60c2041).(ConditionOcxx . . $ QTJSC/X86Assembler#ConditionO.)); |
| 1279 | return m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediateRel32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediateRel32(8149b48f2c695cb3).(); |
| 1280 | } |
| 1281 | |
| 1282 | JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# jpcxx . . $ QTJSC/X86Assembler#jp(8149b48f2c695cb3).() |
| 1283 | { |
| 1284 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(86f106b7f79d583e).(jccRel32cxx . . $ QTJSC/X86Assembler#jccRel32(ff49f415e60c2041).(ConditionPcxx . . $ QTJSC/X86Assembler#ConditionP.)); |
| 1285 | return m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediateRel32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediateRel32(8149b48f2c695cb3).(); |
| 1286 | } |
| 1287 | |
| 1288 | JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# jscxx . . $ QTJSC/X86Assembler#js(8149b48f2c695cb3).() |
| 1289 | { |
| 1290 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(86f106b7f79d583e).(jccRel32cxx . . $ QTJSC/X86Assembler#jccRel32(ff49f415e60c2041).(ConditionScxx . . $ QTJSC/X86Assembler#ConditionS.)); |
| 1291 | return m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediateRel32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediateRel32(8149b48f2c695cb3).(); |
| 1292 | } |
| 1293 | |
| 1294 | JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# jCCcxx . . $ QTJSC/X86Assembler#jCC(9134416a6c5a97d2).(Conditioncxx . . $ QTJSC/X86Assembler#Condition# cond) |
| 1295 | { |
| 1296 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(86f106b7f79d583e).(jccRel32cxx . . $ QTJSC/X86Assembler#jccRel32(ff49f415e60c2041).(cond)); |
| 1297 | return m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediateRel32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediateRel32(8149b48f2c695cb3).(); |
| 1298 | } |
| 1299 | |
| 1300 | // SSE operations: |
| 1301 | |
| 1302 | void addsd_rrcxx . . $ QTJSC/X86Assembler#addsd_rr(391de5fc098d9ba7).(XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# src, XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# dst) |
| 1303 | { |
| 1304 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_SSE_F2cxx . . $ QTJSC/X86Assembler#PRE_SSE_F2.); |
| 1305 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(929abaa047679ab8).(OP2_ADDSD_VsdWsdcxx . . $ QTJSC/X86Assembler#OP2_ADDSD_VsdWsd., (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)dst, (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)src); |
| 1306 | } |
| 1307 | |
| 1308 | void addsd_mrcxx . . $ QTJSC/X86Assembler#addsd_mr(d4e3d8eaefa2996c).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# dst) |
| 1309 | { |
| 1310 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_SSE_F2cxx . . $ QTJSC/X86Assembler#PRE_SSE_F2.); |
| 1311 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(710dc97a47a05fa4).(OP2_ADDSD_VsdWsdcxx . . $ QTJSC/X86Assembler#OP2_ADDSD_VsdWsd., (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)dst, base, offset); |
| 1312 | } |
| 1313 | |
| 1314 | void cvtsi2sd_rrcxx . . $ QTJSC/X86Assembler#cvtsi2sd_rr(e5bf30ea72f3f8b9).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# dst) |
| 1315 | { |
| 1316 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_SSE_F2cxx . . $ QTJSC/X86Assembler#PRE_SSE_F2.); |
| 1317 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(929abaa047679ab8).(OP2_CVTSI2SD_VsdEdcxx . . $ QTJSC/X86Assembler#OP2_CVTSI2SD_VsdEd., (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)dst, src); |
| 1318 | } |
| 1319 | |
| 1320 | void cvtsi2sd_mrcxx . . $ QTJSC/X86Assembler#cvtsi2sd_mr(d4e3d8eaefa2996c).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# dst) |
| 1321 | { |
| 1322 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_SSE_F2cxx . . $ QTJSC/X86Assembler#PRE_SSE_F2.); |
| 1323 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(710dc97a47a05fa4).(OP2_CVTSI2SD_VsdEdcxx . . $ QTJSC/X86Assembler#OP2_CVTSI2SD_VsdEd., (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)dst, base, offset); |
| 1324 | } |
| 1325 | |
| 1326 | #if !CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 1327 | void cvtsi2sd_mr(void* address, XMMRegisterID dst) |
| 1328 | { |
| 1329 | m_formatter.prefix(PRE_SSE_F2); |
| 1330 | m_formatter.twoByteOp(OP2_CVTSI2SD_VsdEd, (RegisterID)dst, address); |
| 1331 | } |
| 1332 | #endif |
| 1333 | |
| 1334 | void cvttsd2si_rrcxx . . $ QTJSC/X86Assembler#cvttsd2si_rr(de981cfff46b627d).(XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 1335 | { |
| 1336 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_SSE_F2cxx . . $ QTJSC/X86Assembler#PRE_SSE_F2.); |
| 1337 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(929abaa047679ab8).(OP2_CVTTSD2SI_GdWsdcxx . . $ QTJSC/X86Assembler#OP2_CVTTSD2SI_GdWsd., dst, (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)src); |
| 1338 | } |
| 1339 | |
| 1340 | void movd_rrcxx . . $ QTJSC/X86Assembler#movd_rr(de981cfff46b627d).(XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 1341 | { |
| 1342 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_SSE_66cxx . . $ QTJSC/X86Assembler#PRE_SSE_66.); |
| 1343 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(929abaa047679ab8).(OP2_MOVD_EdVdcxx . . $ QTJSC/X86Assembler#OP2_MOVD_EdVd., (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)src, dst); |
| 1344 | } |
| 1345 | |
| 1346 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 1347 | void movq_rrcxx . . $ QTJSC/X86Assembler#movq_rr(de981cfff46b627d).(XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 1348 | { |
| 1349 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_SSE_66cxx . . $ QTJSC/X86Assembler#PRE_SSE_66.); |
| 1350 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp64(929abaa047679ab8).(OP2_MOVD_EdVdcxx . . $ QTJSC/X86Assembler#OP2_MOVD_EdVd., (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)src, dst); |
| 1351 | } |
| 1352 | |
| 1353 | void movq_rrcxx . . $ QTJSC/X86Assembler#movq_rr(e5bf30ea72f3f8b9).(RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# src, XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# dst) |
| 1354 | { |
| 1355 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_SSE_66cxx . . $ QTJSC/X86Assembler#PRE_SSE_66.); |
| 1356 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp64(929abaa047679ab8).(OP2_MOVD_VdEdcxx . . $ QTJSC/X86Assembler#OP2_MOVD_VdEd., (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)dst, src); |
| 1357 | } |
| 1358 | #endif |
| 1359 | |
| 1360 | void movsd_rmcxx . . $ QTJSC/X86Assembler#movsd_rm(4fe5007da31f448c).(XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# src, int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base) |
| 1361 | { |
| 1362 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_SSE_F2cxx . . $ QTJSC/X86Assembler#PRE_SSE_F2.); |
| 1363 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(710dc97a47a05fa4).(OP2_MOVSD_WsdVsdcxx . . $ QTJSC/X86Assembler#OP2_MOVSD_WsdVsd., (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)src, base, offset); |
| 1364 | } |
| 1365 | |
| 1366 | void movsd_mrcxx . . $ QTJSC/X86Assembler#movsd_mr(d4e3d8eaefa2996c).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# dst) |
| 1367 | { |
| 1368 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_SSE_F2cxx . . $ QTJSC/X86Assembler#PRE_SSE_F2.); |
| 1369 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(710dc97a47a05fa4).(OP2_MOVSD_VsdWsdcxx . . $ QTJSC/X86Assembler#OP2_MOVSD_VsdWsd., (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)dst, base, offset); |
| 1370 | } |
| 1371 | |
| 1372 | #if !CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 1373 | void movsd_mr(void* address, XMMRegisterID dst) |
| 1374 | { |
| 1375 | m_formatter.prefix(PRE_SSE_F2); |
| 1376 | m_formatter.twoByteOp(OP2_MOVSD_VsdWsd, (RegisterID)dst, address); |
| 1377 | } |
| 1378 | #endif |
| 1379 | |
| 1380 | void mulsd_rrcxx . . $ QTJSC/X86Assembler#mulsd_rr(391de5fc098d9ba7).(XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# src, XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# dst) |
| 1381 | { |
| 1382 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_SSE_F2cxx . . $ QTJSC/X86Assembler#PRE_SSE_F2.); |
| 1383 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(929abaa047679ab8).(OP2_MULSD_VsdWsdcxx . . $ QTJSC/X86Assembler#OP2_MULSD_VsdWsd., (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)dst, (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)src); |
| 1384 | } |
| 1385 | |
| 1386 | void mulsd_mrcxx . . $ QTJSC/X86Assembler#mulsd_mr(d4e3d8eaefa2996c).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# dst) |
| 1387 | { |
| 1388 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_SSE_F2cxx . . $ QTJSC/X86Assembler#PRE_SSE_F2.); |
| 1389 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(710dc97a47a05fa4).(OP2_MULSD_VsdWsdcxx . . $ QTJSC/X86Assembler#OP2_MULSD_VsdWsd., (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)dst, base, offset); |
| 1390 | } |
| 1391 | |
| 1392 | void pextrw_irrcxx . . $ QTJSC/X86Assembler#pextrw_irr(501ee1f37c54b78c).(int whichWord, XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# src, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# dst) |
| 1393 | { |
| 1394 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_SSE_66cxx . . $ QTJSC/X86Assembler#PRE_SSE_66.); |
| 1395 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(929abaa047679ab8).(OP2_PEXTRW_GdUdIbcxx . . $ QTJSC/X86Assembler#OP2_PEXTRW_GdUdIb., (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)dst, (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)src); |
| 1396 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(whichWord); |
| 1397 | } |
| 1398 | |
| 1399 | void subsd_rrcxx . . $ QTJSC/X86Assembler#subsd_rr(391de5fc098d9ba7).(XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# src, XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# dst) |
| 1400 | { |
| 1401 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_SSE_F2cxx . . $ QTJSC/X86Assembler#PRE_SSE_F2.); |
| 1402 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(929abaa047679ab8).(OP2_SUBSD_VsdWsdcxx . . $ QTJSC/X86Assembler#OP2_SUBSD_VsdWsd., (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)dst, (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)src); |
| 1403 | } |
| 1404 | |
| 1405 | void subsd_mrcxx . . $ QTJSC/X86Assembler#subsd_mr(d4e3d8eaefa2996c).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# dst) |
| 1406 | { |
| 1407 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_SSE_F2cxx . . $ QTJSC/X86Assembler#PRE_SSE_F2.); |
| 1408 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(710dc97a47a05fa4).(OP2_SUBSD_VsdWsdcxx . . $ QTJSC/X86Assembler#OP2_SUBSD_VsdWsd., (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)dst, base, offset); |
| 1409 | } |
| 1410 | |
| 1411 | void ucomisd_rrcxx . . $ QTJSC/X86Assembler#ucomisd_rr(391de5fc098d9ba7).(XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# src, XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# dst) |
| 1412 | { |
| 1413 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_SSE_66cxx . . $ QTJSC/X86Assembler#PRE_SSE_66.); |
| 1414 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(929abaa047679ab8).(OP2_UCOMISD_VsdWsdcxx . . $ QTJSC/X86Assembler#OP2_UCOMISD_VsdWsd., (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)dst, (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)src); |
| 1415 | } |
| 1416 | |
| 1417 | void ucomisd_mrcxx . . $ QTJSC/X86Assembler#ucomisd_mr(d4e3d8eaefa2996c).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# dst) |
| 1418 | { |
| 1419 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_SSE_66cxx . . $ QTJSC/X86Assembler#PRE_SSE_66.); |
| 1420 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(710dc97a47a05fa4).(OP2_UCOMISD_VsdWsdcxx . . $ QTJSC/X86Assembler#OP2_UCOMISD_VsdWsd., (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)dst, base, offset); |
| 1421 | } |
| 1422 | |
| 1423 | void divsd_rrcxx . . $ QTJSC/X86Assembler#divsd_rr(391de5fc098d9ba7).(XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# src, XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# dst) |
| 1424 | { |
| 1425 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_SSE_F2cxx . . $ QTJSC/X86Assembler#PRE_SSE_F2.); |
| 1426 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(929abaa047679ab8).(OP2_DIVSD_VsdWsdcxx . . $ QTJSC/X86Assembler#OP2_DIVSD_VsdWsd., (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)dst, (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)src); |
| 1427 | } |
| 1428 | |
| 1429 | void divsd_mrcxx . . $ QTJSC/X86Assembler#divsd_mr(d4e3d8eaefa2996c).(int offset, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# dst) |
| 1430 | { |
| 1431 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_SSE_F2cxx . . $ QTJSC/X86Assembler#PRE_SSE_F2.); |
| 1432 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(710dc97a47a05fa4).(OP2_DIVSD_VsdWsdcxx . . $ QTJSC/X86Assembler#OP2_DIVSD_VsdWsd., (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)dst, base, offset); |
| 1433 | } |
| 1434 | |
| 1435 | void xorpd_rrcxx . . $ QTJSC/X86Assembler#xorpd_rr(391de5fc098d9ba7).(XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# src, XMMRegisterIDcxx . . $ QTJSC/X86Assembler#XMMRegisterID# dst) |
| 1436 | { |
| 1437 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_SSE_66cxx . . $ QTJSC/X86Assembler#PRE_SSE_66.); |
| 1438 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(929abaa047679ab8).(OP2_XORPD_VpdWpdcxx . . $ QTJSC/X86Assembler#OP2_XORPD_VpdWpd., (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)dst, (RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID#)src); |
| 1439 | } |
| 1440 | |
| 1441 | // Misc instructions: |
| 1442 | |
| 1443 | void int3cxx . . $ QTJSC/X86Assembler#int3(49f6e7a06ebc5aa8).() |
| 1444 | { |
| 1445 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(c7c417869d87a702).(OP_INT3cxx . . $ QTJSC/X86Assembler#OP_INT3.); |
| 1446 | } |
| 1447 | |
| 1448 | void retcxx . . $ QTJSC/X86Assembler#ret(49f6e7a06ebc5aa8).() |
| 1449 | { |
| 1450 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(c7c417869d87a702).(OP_RETcxx . . $ QTJSC/X86Assembler#OP_RET.); |
| 1451 | } |
| 1452 | |
| 1453 | void predictNotTakencxx . . $ QTJSC/X86Assembler#predictNotTaken(49f6e7a06ebc5aa8).() |
| 1454 | { |
| 1455 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(PRE_PREDICT_BRANCH_NOT_TAKENcxx . . $ QTJSC/X86Assembler#PRE_PREDICT_BRANCH_NOT_TAKEN.); |
| 1456 | } |
| 1457 | |
| 1458 | // Assembler admin methods: |
| 1459 | |
| 1460 | JmpDstcxx . . $ QTJSC/X86Assembler#JmpDst# labelcxx . . $ QTJSC/X86Assembler#label(cd7a6faa3e89225e).() |
| 1461 | { |
| 1462 | return JmpDstcxx . . $ QTJSC/X86Assembler#JmpDst#JmpDst(d4f767463ce0a6b3).(m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..sizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#size(fe4d2d262d4164a8).()); |
| 1463 | } |
| 1464 | |
| 1465 | static JmpDstcxx . . $ QTJSC/X86Assembler#JmpDst# labelForcxx . . $ QTJSC/X86Assembler#labelFor(f4e2155cbe18b091).(JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# jump, intptr_tcxx . . $ intptr_t# offset = 0) |
| 1466 | { |
| 1467 | return JmpDstcxx . . $ QTJSC/X86Assembler#JmpDst#(jump.m_offsetcxx . . $ QTJSC/X86Assembler#JmpSrc#m_offset. + offset); |
| 1468 | } |
| 1469 | |
| 1470 | JmpDstcxx . . $ QTJSC/X86Assembler#JmpDst# aligncxx . . $ QTJSC/X86Assembler#align(74a42988679c331b).(int alignment) |
| 1471 | { |
| 1472 | while (!m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..isAlignedcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#isAligned(4a668f6de69bf818).(alignment)) |
| 1473 | m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(c7c417869d87a702).(OP_HLTcxx . . $ QTJSC/X86Assembler#OP_HLT.); |
| 1474 | |
| 1475 | return labelcxx . . $ QTJSC/X86Assembler#label(cd7a6faa3e89225e).(); |
| 1476 | } |
| 1477 | |
| 1478 | // Linking & patching: |
| 1479 | // |
| 1480 | // 'link' and 'patch' methods are for use on unprotected code - such as the code |
| 1481 | // within the AssemblerBuffer, and code being patched by the patch buffer. Once |
| 1482 | // code has been finalized it is (platform support permitting) within a non- |
| 1483 | // writable region of memory; to modify the code in an execute-only execuable |
| 1484 | // pool the 'repatch' and 'relink' methods should be used. |
| 1485 | |
| 1486 | void linkJumpcxx . . $ QTJSC/X86Assembler#linkJump(e163d570fbe3c0d).(JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# from, JmpDstcxx . . $ QTJSC/X86Assembler#JmpDst# to) |
| 1487 | { |
| 1488 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(from.m_offset != -1); |
| 1489 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(to.m_offset != -1); |
| 1490 | |
| 1491 | char* code = reinterpret_cast<char*>(m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..datacxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#data(45a5c5ac6be858a8).()); |
| 1492 | setRel32cxx . . $ QTJSC/X86Assembler#setRel32(6c58c5e2437d25a2).(code + from.m_offsetcxx . . $ QTJSC/X86Assembler#JmpSrc#m_offset., code + to.m_offsetcxx . . $ QTJSC/X86Assembler#JmpDst#m_offset.); |
| 1493 | } |
| 1494 | |
| 1495 | static void linkJumpcxx . . $ QTJSC/X86Assembler#linkJump(fb23c793510702c2).(void* code, JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# from, void* to) |
| 1496 | { |
| 1497 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(from.m_offset != -1); |
| 1498 | |
| 1499 | setRel32cxx . . $ QTJSC/X86Assembler#setRel32(6c58c5e2437d25a2).(reinterpret_cast<char*>(code) + from.m_offsetcxx . . $ QTJSC/X86Assembler#JmpSrc#m_offset., to); |
| 1500 | } |
| 1501 | |
| 1502 | static void linkCallcxx . . $ QTJSC/X86Assembler#linkCall(fb23c793510702c2).(void* code, JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# from, void* to) |
| 1503 | { |
| 1504 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(from.m_offset != -1); |
| 1505 | |
| 1506 | setRel32cxx . . $ QTJSC/X86Assembler#setRel32(6c58c5e2437d25a2).(reinterpret_cast<char*>(code) + from.m_offsetcxx . . $ QTJSC/X86Assembler#JmpSrc#m_offset., to); |
| 1507 | } |
| 1508 | |
| 1509 | static void linkPointercxx . . $ QTJSC/X86Assembler#linkPointer(124fc80e9f3db232).(void* code, JmpDstcxx . . $ QTJSC/X86Assembler#JmpDst# where, void* value) |
| 1510 | { |
| 1511 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(where.m_offset != -1); |
| 1512 | |
| 1513 | setPointercxx . . $ QTJSC/X86Assembler#setPointer(6c58c5e2437d25a2).(reinterpret_cast<char*>(code) + where.m_offsetcxx . . $ QTJSC/X86Assembler#JmpDst#m_offset., value); |
| 1514 | } |
| 1515 | |
| 1516 | static void relinkJumpcxx . . $ QTJSC/X86Assembler#relinkJump(6c58c5e2437d25a2).(void* from, void* to) |
| 1517 | { |
| 1518 | setRel32cxx . . $ QTJSC/X86Assembler#setRel32(6c58c5e2437d25a2).(from, to); |
| 1519 | } |
| 1520 | |
| 1521 | static void relinkCallcxx . . $ QTJSC/X86Assembler#relinkCall(6c58c5e2437d25a2).(void* from, void* to) |
| 1522 | { |
| 1523 | setRel32cxx . . $ QTJSC/X86Assembler#setRel32(6c58c5e2437d25a2).(from, to); |
| 1524 | } |
| 1525 | |
| 1526 | static void repatchInt32cxx . . $ QTJSC/X86Assembler#repatchInt32(d0320739773070f2).(void* where, int32_tcxx . . $ int32_t# value) |
| 1527 | { |
| 1528 | setInt32cxx . . $ QTJSC/X86Assembler#setInt32(d0320739773070f2).(where, value); |
| 1529 | } |
| 1530 | |
| 1531 | static void repatchPointercxx . . $ QTJSC/X86Assembler#repatchPointer(6c58c5e2437d25a2).(void* where, void* value) |
| 1532 | { |
| 1533 | setPointercxx . . $ QTJSC/X86Assembler#setPointer(6c58c5e2437d25a2).(where, value); |
| 1534 | } |
| 1535 | |
| 1536 | static void repatchLoadPtrToLEAcxx . . $ QTJSC/X86Assembler#repatchLoadPtrToLEA(5d22bdacc48458e8).(void* where) |
| 1537 | { |
| 1538 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 1539 | // On x86-64 pointer memory accesses require a 64-bit operand, and as such a REX prefix. |
| 1540 | // Skip over the prefix byte. |
| 1541 | where = reinterpret_cast<char*>(where) + 1; |
| 1542 | #endif |
| 1543 | *reinterpret_cast<unsigned char*>(where) = static_cast<unsigned char>(OP_LEAcxx . . $ QTJSC/X86Assembler#OP_LEA.); |
| 1544 | } |
| 1545 | |
| 1546 | static unsigned getCallReturnOffsetcxx . . $ QTJSC/X86Assembler#getCallReturnOffset(146b7c56ed1b7d4b).(JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# call) |
| 1547 | { |
| 1548 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(call.m_offset >= 0); |
| 1549 | return call.m_offsetcxx . . $ QTJSC/X86Assembler#JmpSrc#m_offset.; |
| 1550 | } |
| 1551 | |
| 1552 | static void* getRelocatedAddresscxx . . $ QTJSC/X86Assembler#getRelocatedAddress(4a9228fb541d5304).(void* code, JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# jump) |
| 1553 | { |
| 1554 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(jump.m_offset != -1); |
| 1555 | |
| 1556 | return reinterpret_cast<void*>(reinterpret_cast<ptrdiff_t>(code) + jump.m_offsetcxx . . $ QTJSC/X86Assembler#JmpSrc#m_offset.); |
| 1557 | } |
| 1558 | |
| 1559 | static void* getRelocatedAddresscxx . . $ QTJSC/X86Assembler#getRelocatedAddress(fc73dccffd85d8fd).(void* code, JmpDstcxx . . $ QTJSC/X86Assembler#JmpDst# destination) |
| 1560 | { |
| 1561 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(destination.m_offset != -1); |
| 1562 | |
| 1563 | return reinterpret_cast<void*>(reinterpret_cast<ptrdiff_t>(code) + destination.m_offsetcxx . . $ QTJSC/X86Assembler#JmpDst#m_offset.); |
| 1564 | } |
| 1565 | |
| 1566 | static int getDifferenceBetweenLabelscxx . . $ QTJSC/X86Assembler#getDifferenceBetweenLabels(9a3b8bb4d6a1bbed).(JmpDstcxx . . $ QTJSC/X86Assembler#JmpDst# src, JmpDstcxx . . $ QTJSC/X86Assembler#JmpDst# dst) |
| 1567 | { |
| 1568 | return dst.m_offsetcxx . . $ QTJSC/X86Assembler#JmpDst#m_offset. - src.m_offsetcxx . . $ QTJSC/X86Assembler#JmpDst#m_offset.; |
| 1569 | } |
| 1570 | |
| 1571 | static int getDifferenceBetweenLabelscxx . . $ QTJSC/X86Assembler#getDifferenceBetweenLabels(993a29133b485200).(JmpDstcxx . . $ QTJSC/X86Assembler#JmpDst# src, JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# dst) |
| 1572 | { |
| 1573 | return dst.m_offsetcxx . . $ QTJSC/X86Assembler#JmpSrc#m_offset. - src.m_offsetcxx . . $ QTJSC/X86Assembler#JmpDst#m_offset.; |
| 1574 | } |
| 1575 | |
| 1576 | static int getDifferenceBetweenLabelscxx . . $ QTJSC/X86Assembler#getDifferenceBetweenLabels(a33c5a47b253339a).(JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# src, JmpDstcxx . . $ QTJSC/X86Assembler#JmpDst# dst) |
| 1577 | { |
| 1578 | return dst.m_offsetcxx . . $ QTJSC/X86Assembler#JmpDst#m_offset. - src.m_offsetcxx . . $ QTJSC/X86Assembler#JmpSrc#m_offset.; |
| 1579 | } |
| 1580 | |
| 1581 | void* executableCopycxx . . $ QTJSC/X86Assembler#executableCopy(27da500743064be4).(ExecutablePoolcxx . . $ QTJSC/ExecutablePool#* allocator) |
| 1582 | { |
| 1583 | void* copy = m_formattercxx . . $ QTJSC/X86Assembler#m_formatter..executableCopycxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#executableCopy(27da500743064be4).(allocator); |
| 1584 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(copy); |
| 1585 | return copy; |
| 1586 | } |
| 1587 | |
| 1588 | private: |
| 1589 | |
| 1590 | static void setPointercxx . . $ QTJSC/X86Assembler#setPointer(6c58c5e2437d25a2).(void* where, void* value) |
| 1591 | { |
| 1592 | reinterpret_cast<void**>(where)[-1] = value; |
| 1593 | } |
| 1594 | |
| 1595 | static void setInt32cxx . . $ QTJSC/X86Assembler#setInt32(d0320739773070f2).(void* where, int32_tcxx . . $ int32_t# value) |
| 1596 | { |
| 1597 | reinterpret_cast<int32_tcxx . . $ int32_t#*>(where)[-1] = value; |
| 1598 | } |
| 1599 | |
| 1600 | static void setRel32cxx . . $ QTJSC/X86Assembler#setRel32(6c58c5e2437d25a2).(void* from, void* to) |
| 1601 | { |
| 1602 | intptr_tcxx . . $ intptr_t# offset = reinterpret_cast<intptr_tcxx . . $ intptr_t#>(to) - reinterpret_cast<intptr_tcxx . . $ intptr_t#>(from); |
| 1603 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(offset == static_cast<int32_t>(offset)); |
| 1604 | |
| 1605 | setInt32cxx . . $ QTJSC/X86Assembler#setInt32(d0320739773070f2).(from, offset); |
| 1606 | } |
| 1607 | |
| 1608 | class X86InstructionFormattercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter# { |
| 1609 | |
| 1610 | static const int maxInstructionSizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#maxInstructionSize. = 16; |
| 1611 | |
| 1612 | public: |
| 1613 | |
| 1614 | // Legacy prefix bytes: |
| 1615 | // |
| 1616 | // These are emmitted prior to the instruction. |
| 1617 | |
| 1618 | void prefixcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#prefix(c7c417869d87a702).(OneByteOpcodeIDcxx . . $ QTJSC/X86Assembler#OneByteOpcodeID# pre) |
| 1619 | { |
| 1620 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putBytecxx . . $ QTJSC/AssemblerBuffer#putByte(d4f767463ce0a6b3).(pre); |
| 1621 | } |
| 1622 | |
| 1623 | // Word-sized operands / no operand instruction formatters. |
| 1624 | // |
| 1625 | // In addition to the opcode, the following operand permutations are supported: |
| 1626 | // * None - instruction takes no operands. |
| 1627 | // * One register - the low three bits of the RegisterID are added into the opcode. |
| 1628 | // * Two registers - encode a register form ModRm (for all ModRm formats, the reg field is passed first, and a GroupOpcodeID may be passed in its place). |
| 1629 | // * Three argument ModRM - a register, and a register and an offset describing a memory operand. |
| 1630 | // * Five argument ModRM - a register, and a base register, an index, scale, and offset describing a memory operand. |
| 1631 | // |
| 1632 | // For 32-bit x86 targets, the address operand may also be provided as a void*. |
| 1633 | // On 64-bit targets REX prefixes will be planted as necessary, where high numbered registers are used. |
| 1634 | // |
| 1635 | // The twoByteOp methods plant two-byte Intel instructions sequences (first opcode byte 0x0F). |
| 1636 | |
| 1637 | void oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(c7c417869d87a702).(OneByteOpcodeIDcxx . . $ QTJSC/X86Assembler#OneByteOpcodeID# opcode) |
| 1638 | { |
| 1639 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..ensureSpacecxx . . $ QTJSC/AssemblerBuffer#ensureSpace(d4f767463ce0a6b3).(maxInstructionSizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#maxInstructionSize.); |
| 1640 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(opcode); |
| 1641 | } |
| 1642 | |
| 1643 | void oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(2f66e55da4fef8c8).(OneByteOpcodeIDcxx . . $ QTJSC/X86Assembler#OneByteOpcodeID# opcode, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# reg) |
| 1644 | { |
| 1645 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..ensureSpacecxx . . $ QTJSC/AssemblerBuffer#ensureSpace(d4f767463ce0a6b3).(maxInstructionSizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#maxInstructionSize.); |
| 1646 | emitRexIfNeededcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRexIfNeeded(b1146eedae1e1d0b).(0, 0, reg); |
| 1647 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(opcode + (reg & 7)); |
| 1648 | } |
| 1649 | |
| 1650 | void oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(3d481508abff7814).(OneByteOpcodeIDcxx . . $ QTJSC/X86Assembler#OneByteOpcodeID# opcode, int reg, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# rm) |
| 1651 | { |
| 1652 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..ensureSpacecxx . . $ QTJSC/AssemblerBuffer#ensureSpace(d4f767463ce0a6b3).(maxInstructionSizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#maxInstructionSize.); |
| 1653 | emitRexIfNeededcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRexIfNeeded(b1146eedae1e1d0b).(reg, 0, rm); |
| 1654 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(opcode); |
| 1655 | registerModRMcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#registerModRM(14b7e9dabeb5dea8).(reg, rm); |
| 1656 | } |
| 1657 | |
| 1658 | void oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(b5846a5475893b85).(OneByteOpcodeIDcxx . . $ QTJSC/X86Assembler#OneByteOpcodeID# opcode, int reg, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, int offset) |
| 1659 | { |
| 1660 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..ensureSpacecxx . . $ QTJSC/AssemblerBuffer#ensureSpace(d4f767463ce0a6b3).(maxInstructionSizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#maxInstructionSize.); |
| 1661 | emitRexIfNeededcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRexIfNeeded(b1146eedae1e1d0b).(reg, 0, base); |
| 1662 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(opcode); |
| 1663 | memoryModRMcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#memoryModRM(327e00ba9974a1ad).(reg, base, offset); |
| 1664 | } |
| 1665 | |
| 1666 | void oneByteOp_disp32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp_disp32(b5846a5475893b85).(OneByteOpcodeIDcxx . . $ QTJSC/X86Assembler#OneByteOpcodeID# opcode, int reg, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, int offset) |
| 1667 | { |
| 1668 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..ensureSpacecxx . . $ QTJSC/AssemblerBuffer#ensureSpace(d4f767463ce0a6b3).(maxInstructionSizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#maxInstructionSize.); |
| 1669 | emitRexIfNeededcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRexIfNeeded(b1146eedae1e1d0b).(reg, 0, base); |
| 1670 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(opcode); |
| 1671 | memoryModRM_disp32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#memoryModRM_disp32(327e00ba9974a1ad).(reg, base, offset); |
| 1672 | } |
| 1673 | |
| 1674 | void oneByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp(7297999fee0611c7).(OneByteOpcodeIDcxx . . $ QTJSC/X86Assembler#OneByteOpcodeID# opcode, int reg, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# index, int scale, int offset) |
| 1675 | { |
| 1676 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..ensureSpacecxx . . $ QTJSC/AssemblerBuffer#ensureSpace(d4f767463ce0a6b3).(maxInstructionSizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#maxInstructionSize.); |
| 1677 | emitRexIfNeededcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRexIfNeeded(b1146eedae1e1d0b).(reg, index, base); |
| 1678 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(opcode); |
| 1679 | memoryModRMcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#memoryModRM(4762cc3df468b2c3).(reg, base, index, scale, offset); |
| 1680 | } |
| 1681 | |
| 1682 | #if !CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 1683 | void oneByteOp(OneByteOpcodeID opcode, int reg, void* address) |
| 1684 | { |
| 1685 | m_buffer.ensureSpace(maxInstructionSize); |
| 1686 | m_buffer.putByteUnchecked(opcode); |
| 1687 | memoryModRM(reg, address); |
| 1688 | } |
| 1689 | #endif |
| 1690 | |
| 1691 | void twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(86f106b7f79d583e).(TwoByteOpcodeIDcxx . . $ QTJSC/X86Assembler#TwoByteOpcodeID# opcode) |
| 1692 | { |
| 1693 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..ensureSpacecxx . . $ QTJSC/AssemblerBuffer#ensureSpace(d4f767463ce0a6b3).(maxInstructionSizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#maxInstructionSize.); |
| 1694 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(OP_2BYTE_ESCAPEcxx . . $ QTJSC/X86Assembler#OP_2BYTE_ESCAPE.); |
| 1695 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(opcode); |
| 1696 | } |
| 1697 | |
| 1698 | void twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(929abaa047679ab8).(TwoByteOpcodeIDcxx . . $ QTJSC/X86Assembler#TwoByteOpcodeID# opcode, int reg, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# rm) |
| 1699 | { |
| 1700 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..ensureSpacecxx . . $ QTJSC/AssemblerBuffer#ensureSpace(d4f767463ce0a6b3).(maxInstructionSizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#maxInstructionSize.); |
| 1701 | emitRexIfNeededcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRexIfNeeded(b1146eedae1e1d0b).(reg, 0, rm); |
| 1702 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(OP_2BYTE_ESCAPEcxx . . $ QTJSC/X86Assembler#OP_2BYTE_ESCAPE.); |
| 1703 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(opcode); |
| 1704 | registerModRMcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#registerModRM(14b7e9dabeb5dea8).(reg, rm); |
| 1705 | } |
| 1706 | |
| 1707 | void twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(710dc97a47a05fa4).(TwoByteOpcodeIDcxx . . $ QTJSC/X86Assembler#TwoByteOpcodeID# opcode, int reg, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, int offset) |
| 1708 | { |
| 1709 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..ensureSpacecxx . . $ QTJSC/AssemblerBuffer#ensureSpace(d4f767463ce0a6b3).(maxInstructionSizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#maxInstructionSize.); |
| 1710 | emitRexIfNeededcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRexIfNeeded(b1146eedae1e1d0b).(reg, 0, base); |
| 1711 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(OP_2BYTE_ESCAPEcxx . . $ QTJSC/X86Assembler#OP_2BYTE_ESCAPE.); |
| 1712 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(opcode); |
| 1713 | memoryModRMcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#memoryModRM(327e00ba9974a1ad).(reg, base, offset); |
| 1714 | } |
| 1715 | |
| 1716 | void twoByteOpcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp(92fd81479a11f100).(TwoByteOpcodeIDcxx . . $ QTJSC/X86Assembler#TwoByteOpcodeID# opcode, int reg, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# index, int scale, int offset) |
| 1717 | { |
| 1718 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..ensureSpacecxx . . $ QTJSC/AssemblerBuffer#ensureSpace(d4f767463ce0a6b3).(maxInstructionSizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#maxInstructionSize.); |
| 1719 | emitRexIfNeededcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRexIfNeeded(b1146eedae1e1d0b).(reg, index, base); |
| 1720 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(OP_2BYTE_ESCAPEcxx . . $ QTJSC/X86Assembler#OP_2BYTE_ESCAPE.); |
| 1721 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(opcode); |
| 1722 | memoryModRMcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#memoryModRM(4762cc3df468b2c3).(reg, base, index, scale, offset); |
| 1723 | } |
| 1724 | |
| 1725 | #if !CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 1726 | void twoByteOp(TwoByteOpcodeID opcode, int reg, void* address) |
| 1727 | { |
| 1728 | m_buffer.ensureSpace(maxInstructionSize); |
| 1729 | m_buffer.putByteUnchecked(OP_2BYTE_ESCAPE); |
| 1730 | m_buffer.putByteUnchecked(opcode); |
| 1731 | memoryModRM(reg, address); |
| 1732 | } |
| 1733 | #endif |
| 1734 | |
| 1735 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 1736 | // Quad-word-sized operands: |
| 1737 | // |
| 1738 | // Used to format 64-bit operantions, planting a REX.w prefix. |
| 1739 | // When planting d64 or f64 instructions, not requiring a REX.w prefix, |
| 1740 | // the normal (non-'64'-postfixed) formatters should be used. |
| 1741 | |
| 1742 | void oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(c7c417869d87a702).(OneByteOpcodeIDcxx . . $ QTJSC/X86Assembler#OneByteOpcodeID# opcode) |
| 1743 | { |
| 1744 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..ensureSpacecxx . . $ QTJSC/AssemblerBuffer#ensureSpace(d4f767463ce0a6b3).(maxInstructionSizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#maxInstructionSize.); |
| 1745 | emitRexWcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRexW(b1146eedae1e1d0b).(0, 0, 0); |
| 1746 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(opcode); |
| 1747 | } |
| 1748 | |
| 1749 | void oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(2f66e55da4fef8c8).(OneByteOpcodeIDcxx . . $ QTJSC/X86Assembler#OneByteOpcodeID# opcode, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# reg) |
| 1750 | { |
| 1751 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..ensureSpacecxx . . $ QTJSC/AssemblerBuffer#ensureSpace(d4f767463ce0a6b3).(maxInstructionSizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#maxInstructionSize.); |
| 1752 | emitRexWcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRexW(b1146eedae1e1d0b).(0, 0, reg); |
| 1753 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(opcode + (reg & 7)); |
| 1754 | } |
| 1755 | |
| 1756 | void oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(3d481508abff7814).(OneByteOpcodeIDcxx . . $ QTJSC/X86Assembler#OneByteOpcodeID# opcode, int reg, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# rm) |
| 1757 | { |
| 1758 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..ensureSpacecxx . . $ QTJSC/AssemblerBuffer#ensureSpace(d4f767463ce0a6b3).(maxInstructionSizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#maxInstructionSize.); |
| 1759 | emitRexWcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRexW(b1146eedae1e1d0b).(reg, 0, rm); |
| 1760 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(opcode); |
| 1761 | registerModRMcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#registerModRM(14b7e9dabeb5dea8).(reg, rm); |
| 1762 | } |
| 1763 | |
| 1764 | void oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(b5846a5475893b85).(OneByteOpcodeIDcxx . . $ QTJSC/X86Assembler#OneByteOpcodeID# opcode, int reg, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, int offset) |
| 1765 | { |
| 1766 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..ensureSpacecxx . . $ QTJSC/AssemblerBuffer#ensureSpace(d4f767463ce0a6b3).(maxInstructionSizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#maxInstructionSize.); |
| 1767 | emitRexWcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRexW(b1146eedae1e1d0b).(reg, 0, base); |
| 1768 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(opcode); |
| 1769 | memoryModRMcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#memoryModRM(327e00ba9974a1ad).(reg, base, offset); |
| 1770 | } |
| 1771 | |
| 1772 | void oneByteOp64_disp32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64_disp32(b5846a5475893b85).(OneByteOpcodeIDcxx . . $ QTJSC/X86Assembler#OneByteOpcodeID# opcode, int reg, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, int offset) |
| 1773 | { |
| 1774 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..ensureSpacecxx . . $ QTJSC/AssemblerBuffer#ensureSpace(d4f767463ce0a6b3).(maxInstructionSizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#maxInstructionSize.); |
| 1775 | emitRexWcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRexW(b1146eedae1e1d0b).(reg, 0, base); |
| 1776 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(opcode); |
| 1777 | memoryModRM_disp32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#memoryModRM_disp32(327e00ba9974a1ad).(reg, base, offset); |
| 1778 | } |
| 1779 | |
| 1780 | void oneByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp64(7297999fee0611c7).(OneByteOpcodeIDcxx . . $ QTJSC/X86Assembler#OneByteOpcodeID# opcode, int reg, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# index, int scale, int offset) |
| 1781 | { |
| 1782 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..ensureSpacecxx . . $ QTJSC/AssemblerBuffer#ensureSpace(d4f767463ce0a6b3).(maxInstructionSizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#maxInstructionSize.); |
| 1783 | emitRexWcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRexW(b1146eedae1e1d0b).(reg, index, base); |
| 1784 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(opcode); |
| 1785 | memoryModRMcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#memoryModRM(4762cc3df468b2c3).(reg, base, index, scale, offset); |
| 1786 | } |
| 1787 | |
| 1788 | void twoByteOp64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp64(929abaa047679ab8).(TwoByteOpcodeIDcxx . . $ QTJSC/X86Assembler#TwoByteOpcodeID# opcode, int reg, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# rm) |
| 1789 | { |
| 1790 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..ensureSpacecxx . . $ QTJSC/AssemblerBuffer#ensureSpace(d4f767463ce0a6b3).(maxInstructionSizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#maxInstructionSize.); |
| 1791 | emitRexWcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRexW(b1146eedae1e1d0b).(reg, 0, rm); |
| 1792 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(OP_2BYTE_ESCAPEcxx . . $ QTJSC/X86Assembler#OP_2BYTE_ESCAPE.); |
| 1793 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(opcode); |
| 1794 | registerModRMcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#registerModRM(14b7e9dabeb5dea8).(reg, rm); |
| 1795 | } |
| 1796 | #endif |
| 1797 | |
| 1798 | // Byte-operands: |
| 1799 | // |
| 1800 | // These methods format byte operations. Byte operations differ from the normal |
| 1801 | // formatters in the circumstances under which they will decide to emit REX prefixes. |
| 1802 | // These should be used where any register operand signifies a byte register. |
| 1803 | // |
| 1804 | // The disctinction is due to the handling of register numbers in the range 4..7 on |
| 1805 | // x86-64. These register numbers may either represent the second byte of the first |
| 1806 | // four registers (ah..bh) or the first byte of the second four registers (spl..dil). |
| 1807 | // |
| 1808 | // Since ah..bh cannot be used in all permutations of operands (specifically cannot |
| 1809 | // be accessed where a REX prefix is present), these are likely best treated as |
| 1810 | // deprecated. In order to ensure the correct registers spl..dil are selected a |
| 1811 | // REX prefix will be emitted for any byte register operand in the range 4..15. |
| 1812 | // |
| 1813 | // These formatters may be used in instructions where a mix of operand sizes, in which |
| 1814 | // case an unnecessary REX will be emitted, for example: |
| 1815 | // movzbl %al, %edi |
| 1816 | // In this case a REX will be planted since edi is 7 (and were this a byte operand |
| 1817 | // a REX would be required to specify dil instead of bh). Unneeded REX prefixes will |
| 1818 | // be silently ignored by the processor. |
| 1819 | // |
| 1820 | // Address operands should still be checked using regRequiresRex(), while byteRegRequiresRex() |
| 1821 | // is provided to check byte register operands. |
| 1822 | |
| 1823 | void oneByteOp8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#oneByteOp8(18215f374e51567).(OneByteOpcodeIDcxx . . $ QTJSC/X86Assembler#OneByteOpcodeID# opcode, GroupOpcodeIDcxx . . $ QTJSC/X86Assembler#GroupOpcodeID# groupOp, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# rm) |
| 1824 | { |
| 1825 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..ensureSpacecxx . . $ QTJSC/AssemblerBuffer#ensureSpace(d4f767463ce0a6b3).(maxInstructionSizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#maxInstructionSize.); |
| 1826 | emitRexIfcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRexIf(8ea4d0b020bcfef6).(byteRegRequiresRexcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#byteRegRequiresRex(83c267b20bac841a).(rm), 0, 0, rm); |
| 1827 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(opcode); |
| 1828 | registerModRMcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#registerModRM(14b7e9dabeb5dea8).(groupOp, rm); |
| 1829 | } |
| 1830 | |
| 1831 | void twoByteOp8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp8(41551088a3e4b746).(TwoByteOpcodeIDcxx . . $ QTJSC/X86Assembler#TwoByteOpcodeID# opcode, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# reg, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# rm) |
| 1832 | { |
| 1833 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..ensureSpacecxx . . $ QTJSC/AssemblerBuffer#ensureSpace(d4f767463ce0a6b3).(maxInstructionSizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#maxInstructionSize.); |
| 1834 | emitRexIfcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRexIf(8ea4d0b020bcfef6).(byteRegRequiresRexcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#byteRegRequiresRex(83c267b20bac841a).(reg)|byteRegRequiresRexcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#byteRegRequiresRex(83c267b20bac841a).(rm), reg, 0, rm); |
| 1835 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(OP_2BYTE_ESCAPEcxx . . $ QTJSC/X86Assembler#OP_2BYTE_ESCAPE.); |
| 1836 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(opcode); |
| 1837 | registerModRMcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#registerModRM(14b7e9dabeb5dea8).(reg, rm); |
| 1838 | } |
| 1839 | |
| 1840 | void twoByteOp8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#twoByteOp8(4f37558280a89b40).(TwoByteOpcodeIDcxx . . $ QTJSC/X86Assembler#TwoByteOpcodeID# opcode, GroupOpcodeIDcxx . . $ QTJSC/X86Assembler#GroupOpcodeID# groupOp, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# rm) |
| 1841 | { |
| 1842 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..ensureSpacecxx . . $ QTJSC/AssemblerBuffer#ensureSpace(d4f767463ce0a6b3).(maxInstructionSizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#maxInstructionSize.); |
| 1843 | emitRexIfcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRexIf(8ea4d0b020bcfef6).(byteRegRequiresRexcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#byteRegRequiresRex(83c267b20bac841a).(rm), 0, 0, rm); |
| 1844 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(OP_2BYTE_ESCAPEcxx . . $ QTJSC/X86Assembler#OP_2BYTE_ESCAPE.); |
| 1845 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(opcode); |
| 1846 | registerModRMcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#registerModRM(14b7e9dabeb5dea8).(groupOp, rm); |
| 1847 | } |
| 1848 | |
| 1849 | // Immediates: |
| 1850 | // |
| 1851 | // An immedaite should be appended where appropriate after an op has been emitted. |
| 1852 | // The writes are unchecked since the opcode formatters above will have ensured space. |
| 1853 | |
| 1854 | void immediate8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate8(d4f767463ce0a6b3).(int imm) |
| 1855 | { |
| 1856 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(imm); |
| 1857 | } |
| 1858 | |
| 1859 | void immediate16cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate16(d4f767463ce0a6b3).(int imm) |
| 1860 | { |
| 1861 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putShortUncheckedcxx . . $ QTJSC/AssemblerBuffer#putShortUnchecked(d4f767463ce0a6b3).(imm); |
| 1862 | } |
| 1863 | |
| 1864 | void immediate32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate32(d4f767463ce0a6b3).(int imm) |
| 1865 | { |
| 1866 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putIntUncheckedcxx . . $ QTJSC/AssemblerBuffer#putIntUnchecked(d4f767463ce0a6b3).(imm); |
| 1867 | } |
| 1868 | |
| 1869 | void immediate64cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediate64(1624ee8275b10bda).(int64_tcxx . . $ int64_t# imm) |
| 1870 | { |
| 1871 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putInt64Uncheckedcxx . . $ QTJSC/AssemblerBuffer#putInt64Unchecked(1624ee8275b10bda).(imm); |
| 1872 | } |
| 1873 | |
| 1874 | JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc# immediateRel32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#immediateRel32(8149b48f2c695cb3).() |
| 1875 | { |
| 1876 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putIntUncheckedcxx . . $ QTJSC/AssemblerBuffer#putIntUnchecked(d4f767463ce0a6b3).(0); |
| 1877 | return JmpSrccxx . . $ QTJSC/X86Assembler#JmpSrc#(m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..sizecxx . . $ QTJSC/AssemblerBuffer#size(455f465bc33b4cdf).()); |
| 1878 | } |
| 1879 | |
| 1880 | // Administrative methods: |
| 1881 | |
| 1882 | size_tcxx . . $ size_t# sizecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#size(fe4d2d262d4164a8).() const { return m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..sizecxx . . $ QTJSC/AssemblerBuffer#size(455f465bc33b4cdf).(); } |
| 1883 | bool isAlignedcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#isAligned(4a668f6de69bf818).(int alignment) const { return m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..isAlignedcxx . . $ QTJSC/AssemblerBuffer#isAligned(4a668f6de69bf818).(alignment); } |
| 1884 | void* datacxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#data(45a5c5ac6be858a8).() const { return m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..datacxx . . $ QTJSC/AssemblerBuffer#data(45a5c5ac6be858a8).(); } |
| 1885 | void* executableCopycxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#executableCopy(27da500743064be4).(ExecutablePoolcxx . . $ QTJSC/ExecutablePool#* allocator) { return m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..executableCopycxx . . $ QTJSC/AssemblerBuffer#executableCopy(27da500743064be4).(allocator); } |
| 1886 | |
| 1887 | private: |
| 1888 | |
| 1889 | // Internals; ModRm and REX formatters. |
| 1890 | |
| 1891 | static const RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# noBasecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#noBase. = X86Registerscxx . . $ QTJSC/X86Registers/::ebpcxx . . $ QTJSC/X86Registers/ebp.; |
| 1892 | static const RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# hasSibcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#hasSib. = X86Registerscxx . . $ QTJSC/X86Registers/::espcxx . . $ QTJSC/X86Registers/esp.; |
| 1893 | static const RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# noIndexcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#noIndex. = X86Registerscxx . . $ QTJSC/X86Registers/::espcxx . . $ QTJSC/X86Registers/esp.; |
| 1894 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 1895 | static const RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# noBase2cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#noBase2. = X86Registerscxx . . $ QTJSC/X86Registers/::r13cxx . . $ QTJSC/X86Registers/r13.; |
| 1896 | static const RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# hasSib2cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#hasSib2. = X86Registerscxx . . $ QTJSC/X86Registers/::r12cxx . . $ QTJSC/X86Registers/r12.; |
| 1897 | |
| 1898 | // Registers r8 & above require a REX prefixe. |
| 1899 | inline bool regRequiresRexcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#regRequiresRex(83c267b20bac841a).(int reg) |
| 1900 | { |
| 1901 | return (reg >= X86Registerscxx . . $ QTJSC/X86Registers/::r8cxx . . $ QTJSC/X86Registers/r8.); |
| 1902 | } |
| 1903 | |
| 1904 | // Byte operand register spl & above require a REX prefix (to prevent the 'H' registers be accessed). |
| 1905 | inline bool byteRegRequiresRexcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#byteRegRequiresRex(83c267b20bac841a).(int reg) |
| 1906 | { |
| 1907 | return (reg >= X86Registerscxx . . $ QTJSC/X86Registers/::espcxx . . $ QTJSC/X86Registers/esp.); |
| 1908 | } |
| 1909 | |
| 1910 | // Format a REX prefix byte. |
| 1911 | inline void emitRexcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRex(8ea4d0b020bcfef6).(bool w, int r, int x, int b) |
| 1912 | { |
| 1913 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(PRE_REXcxx . . $ QTJSC/X86Assembler#PRE_REX. | ((int)w << 3) | ((r>>3)<<2) | ((x>>3)<<1) | (b>>3)); |
| 1914 | } |
| 1915 | |
| 1916 | // Used to plant a REX byte with REX.w set (for 64-bit operations). |
| 1917 | inline void emitRexWcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRexW(b1146eedae1e1d0b).(int r, int x, int b) |
| 1918 | { |
| 1919 | emitRexcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRex(8ea4d0b020bcfef6).(true, r, x, b); |
| 1920 | } |
| 1921 | |
| 1922 | // Used for operations with byte operands - use byteRegRequiresRex() to check register operands, |
| 1923 | // regRequiresRex() to check other registers (i.e. address base & index). |
| 1924 | inline void emitRexIfcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRexIf(8ea4d0b020bcfef6).(bool condition, int r, int x, int b) |
| 1925 | { |
| 1926 | if (condition) emitRexcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRex(8ea4d0b020bcfef6).(false, r, x, b); |
| 1927 | } |
| 1928 | |
| 1929 | // Used for word sized operations, will plant a REX prefix if necessary (if any register is r8 or above). |
| 1930 | inline void emitRexIfNeededcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRexIfNeeded(b1146eedae1e1d0b).(int r, int x, int b) |
| 1931 | { |
| 1932 | emitRexIfcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#emitRexIf(8ea4d0b020bcfef6).(regRequiresRexcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#regRequiresRex(83c267b20bac841a).(r) || regRequiresRexcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#regRequiresRex(83c267b20bac841a).(x) || regRequiresRexcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#regRequiresRex(83c267b20bac841a).(b), r, x, b); |
| 1933 | } |
| 1934 | #else |
| 1935 | // No REX prefix bytes on 32-bit x86. |
| 1936 | inline bool regRequiresRex(int) { return false; } |
| 1937 | inline bool byteRegRequiresRex(int) { return false; } |
| 1938 | inline void emitRexIf(bool, int, int, int) {} |
| 1939 | inline void emitRexIfNeeded(int, int, int) {} |
| 1940 | #endif |
| 1941 | |
| 1942 | enum ModRmModecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#ModRmMode# { |
| 1943 | ModRmMemoryNoDispcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#ModRmMemoryNoDisp., |
| 1944 | ModRmMemoryDisp8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#ModRmMemoryDisp8., |
| 1945 | ModRmMemoryDisp32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#ModRmMemoryDisp32., |
| 1946 | ModRmRegistercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#ModRmRegister., |
| 1947 | }; |
| 1948 | |
| 1949 | void putModRmcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#putModRm(6a71db7f7efe6aea).(ModRmModecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#ModRmMode# mode, int reg, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# rm) |
| 1950 | { |
| 1951 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).((mode << 6) | ((reg & 7) << 3) | (rm & 7)); |
| 1952 | } |
| 1953 | |
| 1954 | void putModRmSibcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#putModRmSib(3954b03cb51d60b1).(ModRmModecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#ModRmMode# mode, int reg, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# index, int scale) |
| 1955 | { |
| 1956 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(mode != ModRmRegister); |
| 1957 | |
| 1958 | putModRmcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#putModRm(6a71db7f7efe6aea).(mode, reg, hasSibcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#hasSib.); |
| 1959 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).((scale << 6) | ((index & 7) << 3) | (base & 7)); |
| 1960 | } |
| 1961 | |
| 1962 | void registerModRMcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#registerModRM(14b7e9dabeb5dea8).(int reg, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# rm) |
| 1963 | { |
| 1964 | putModRmcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#putModRm(6a71db7f7efe6aea).(ModRmRegistercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#ModRmRegister., reg, rm); |
| 1965 | } |
| 1966 | |
| 1967 | void memoryModRMcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#memoryModRM(327e00ba9974a1ad).(int reg, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, int offset) |
| 1968 | { |
| 1969 | // A base of esp or r12 would be interpreted as a sib, so force a sib with no index & put the base in there. |
| 1970 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 1971 | if ((base == hasSibcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#hasSib.) || (base == hasSib2cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#hasSib2.)) { |
| 1972 | #else |
| 1973 | if (base == hasSib) { |
| 1974 | #endif |
| 1975 | if (!offset) // No need to check if the base is noBase, since we know it is hasSib! |
| 1976 | putModRmSibcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#putModRmSib(3954b03cb51d60b1).(ModRmMemoryNoDispcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#ModRmMemoryNoDisp., reg, base, noIndexcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#noIndex., 0); |
| 1977 | else if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(offset)) { |
| 1978 | putModRmSibcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#putModRmSib(3954b03cb51d60b1).(ModRmMemoryDisp8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#ModRmMemoryDisp8., reg, base, noIndexcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#noIndex., 0); |
| 1979 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(offset); |
| 1980 | } else { |
| 1981 | putModRmSibcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#putModRmSib(3954b03cb51d60b1).(ModRmMemoryDisp32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#ModRmMemoryDisp32., reg, base, noIndexcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#noIndex., 0); |
| 1982 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putIntUncheckedcxx . . $ QTJSC/AssemblerBuffer#putIntUnchecked(d4f767463ce0a6b3).(offset); |
| 1983 | } |
| 1984 | } else { |
| 1985 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 1986 | if (!offset && (base != noBasecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#noBase.) && (base != noBase2cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#noBase2.)) |
| 1987 | #else |
| 1988 | if (!offset && (base != noBase)) |
| 1989 | #endif |
| 1990 | putModRmcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#putModRm(6a71db7f7efe6aea).(ModRmMemoryNoDispcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#ModRmMemoryNoDisp., reg, base); |
| 1991 | else if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(offset)) { |
| 1992 | putModRmcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#putModRm(6a71db7f7efe6aea).(ModRmMemoryDisp8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#ModRmMemoryDisp8., reg, base); |
| 1993 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(offset); |
| 1994 | } else { |
| 1995 | putModRmcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#putModRm(6a71db7f7efe6aea).(ModRmMemoryDisp32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#ModRmMemoryDisp32., reg, base); |
| 1996 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putIntUncheckedcxx . . $ QTJSC/AssemblerBuffer#putIntUnchecked(d4f767463ce0a6b3).(offset); |
| 1997 | } |
| 1998 | } |
| 1999 | } |
| 2000 | |
| 2001 | void memoryModRM_disp32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#memoryModRM_disp32(327e00ba9974a1ad).(int reg, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, int offset) |
| 2002 | { |
| 2003 | // A base of esp or r12 would be interpreted as a sib, so force a sib with no index & put the base in there. |
| 2004 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 2005 | if ((base == hasSibcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#hasSib.) || (base == hasSib2cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#hasSib2.)) { |
| 2006 | #else |
| 2007 | if (base == hasSib) { |
| 2008 | #endif |
| 2009 | putModRmSibcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#putModRmSib(3954b03cb51d60b1).(ModRmMemoryDisp32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#ModRmMemoryDisp32., reg, base, noIndexcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#noIndex., 0); |
| 2010 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putIntUncheckedcxx . . $ QTJSC/AssemblerBuffer#putIntUnchecked(d4f767463ce0a6b3).(offset); |
| 2011 | } else { |
| 2012 | putModRmcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#putModRm(6a71db7f7efe6aea).(ModRmMemoryDisp32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#ModRmMemoryDisp32., reg, base); |
| 2013 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putIntUncheckedcxx . . $ QTJSC/AssemblerBuffer#putIntUnchecked(d4f767463ce0a6b3).(offset); |
| 2014 | } |
| 2015 | } |
| 2016 | |
| 2017 | void memoryModRMcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#memoryModRM(4762cc3df468b2c3).(int reg, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# base, RegisterIDcxx . . $ QTJSC/X86Assembler#RegisterID# index, int scale, int offset) |
| 2018 | { |
| 2019 | ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(index != noIndex); |
| 2020 | |
| 2021 | #if CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 2022 | if (!offset && (base != noBasecxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#noBase.) && (base != noBase2cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#noBase2.)) |
| 2023 | #else |
| 2024 | if (!offset && (base != noBase)) |
| 2025 | #endif |
| 2026 | putModRmSibcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#putModRmSib(3954b03cb51d60b1).(ModRmMemoryNoDispcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#ModRmMemoryNoDisp., reg, base, index, scale); |
| 2027 | else if (CAN_SIGN_EXTEND_8_32cxx . . $ QTJSC/CAN_SIGN_EXTEND_8_32(83c267b20bac841a).(offset)) { |
| 2028 | putModRmSibcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#putModRmSib(3954b03cb51d60b1).(ModRmMemoryDisp8cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#ModRmMemoryDisp8., reg, base, index, scale); |
| 2029 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putByteUncheckedcxx . . $ QTJSC/AssemblerBuffer#putByteUnchecked(d4f767463ce0a6b3).(offset); |
| 2030 | } else { |
| 2031 | putModRmSibcxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#putModRmSib(3954b03cb51d60b1).(ModRmMemoryDisp32cxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#ModRmMemoryDisp32., reg, base, index, scale); |
| 2032 | m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer..putIntUncheckedcxx . . $ QTJSC/AssemblerBuffer#putIntUnchecked(d4f767463ce0a6b3).(offset); |
| 2033 | } |
| 2034 | } |
| 2035 | |
| 2036 | #if !CPUcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:44:9`!(X86_64) |
| 2037 | void memoryModRM(int reg, void* address) |
| 2038 | { |
| 2039 | // noBase + ModRmMemoryNoDisp means noBase + ModRmMemoryDisp32! |
| 2040 | putModRm(ModRmMemoryNoDisp, reg, noBase); |
| 2041 | m_buffer.putIntUnchecked(reinterpret_cast<int32_t>(address)); |
| 2042 | } |
| 2043 | #endif |
| 2044 | |
| 2045 | AssemblerBuffercxx . . $ QTJSC/AssemblerBuffer# m_buffercxx . . $ QTJSC/X86Assembler#X86InstructionFormatter#m_buffer.; |
| 2046 | } m_formattercxx . . $ QTJSC/X86Assembler#m_formatter.; |
| 2047 | }; |
| 2048 | |
| 2049 | } // namespace JSC |
| 2050 | |
| 2051 | #endif // ENABLE(ASSEMBLER) && CPU(X86) |
| 2052 | |
| 2053 | #endif // X86Assembler_h |