Changeset 228 in dev for trunk/abdev/BasicCompiler64/stack_frame.cpp
- Timestamp:
- Jul 23, 2007, 3:24:20 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler64/stack_frame.cpp
r226 r228 80 80 if(varSize==sizeof(float)){ 81 81 //movss dword ptr[rsp+offset],xmm_reg 82 OpBuffer[obp++]=(char)0xF3; 83 OpBuffer[obp++]=(char)0x0F; 84 OpBuffer[obp++]=(char)0x11; 85 OpBuffer[obp++]=(char)(0x84| REGISTER_OPERAND(xmm_reg)<<3 ); 86 OpBuffer[obp++]=(char)0x24; 87 *((long *)(OpBuffer+obp))=now_sp; 88 obp+=sizeof(long); 82 compiler.codeGenerator.op_movss_MR( xmm_reg, REG_RSP, now_sp, MOD_BASE_DISP32 ); 89 83 } 90 84 … … 113 107 if(varSize==sizeof(float)){ 114 108 //movss xmm_reg,dword ptr[rsp+offset] 115 OpBuffer[obp++]=(char)0xF3; 116 OpBuffer[obp++]=(char)0x0F; 117 OpBuffer[obp++]=(char)0x10; 118 OpBuffer[obp++]=(char)(0x84| REGISTER_OPERAND(xmm_reg)<<3 ); 119 OpBuffer[obp++]=(char)0x24; 120 *((long *)(OpBuffer+obp))=now_sp; 121 obp+=sizeof(long); 109 compiler.codeGenerator.op_movss_MR( xmm_reg, REG_RSP, now_sp, MOD_BASE_DISP32 ); 122 110 } 123 111
Note:
See TracChangeset
for help on using the changeset viewer.