Changeset 242 in dev for trunk/abdev/BasicCompiler64/NumOpe_Arithmetic.cpp
- Timestamp:
- Jul 27, 2007, 3:40:33 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler64/NumOpe_Arithmetic.cpp
r228 r242 473 473 474 474 //mulsd xmm_reg,qword ptr[data table offset] ※data = -1 475 OpBuffer[obp++]=(char)0xF2; 476 OpBuffer[obp++]=(char)0x0F; 477 OpBuffer[obp++]=(char)0x59; 478 OpBuffer[obp++]=(char)(0x04 | REGISTER_OPERAND(xmm_reg)<<3); 479 OpBuffer[obp++]=(char)0x25; 480 *((long *)(OpBuffer+obp))=i32data; 481 pobj_DataTableSchedule->add(); 482 obp+=sizeof(long); 475 compiler.codeGenerator.PutOld( 476 (char)0xF2, 477 (char)0x0F, 478 (char)0x59, 479 (char)(0x04 | REGISTER_OPERAND(xmm_reg)<<3), 480 (char)0x25 481 ); 482 compiler.codeGenerator.PutOld( 483 (long)i32data, 484 Schedule::DataTable 485 ); 483 486 484 487 if(xmm_reg==REG_XMM4){ … … 495 498 496 499 //mulss xmm_reg,dword ptr[data table offset] ※data = -1 497 OpBuffer[obp++]=(char)0xF3; 498 OpBuffer[obp++]=(char)0x0F; 499 OpBuffer[obp++]=(char)0x59; 500 OpBuffer[obp++]=(char)(0x04 | REGISTER_OPERAND(xmm_reg)<<3); 501 OpBuffer[obp++]=(char)0x25; 502 *((long *)(OpBuffer+obp))=i32data; 503 pobj_DataTableSchedule->add(); 504 obp+=sizeof(long); 500 compiler.codeGenerator.PutOld( 501 (char)0xF3, 502 (char)0x0F, 503 (char)0x59, 504 (char)(0x04 | REGISTER_OPERAND(xmm_reg)<<3), 505 (char)0x25 506 ); 507 compiler.codeGenerator.PutOld( 508 (long)i32data, 509 Schedule::DataTable 510 ); 505 511 506 512 if(xmm_reg==REG_XMM4){
Note:
See TracChangeset
for help on using the changeset viewer.