Changeset 494 for GraphicTest/Packages/bgrabitmap/bgrasse.pas
- Timestamp:
- Dec 22, 2016, 8:49:19 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GraphicTest/Packages/bgrabitmap/bgrasse.pas
r472 r494 21 21 var UseSSE, UseSSE2, UseSSE3 : boolean; 22 22 23 {$ifdef CPUI386} 24 {$asmmode intel} 25 {$ENDIF} 26 {$ifdef cpux86_64} 27 {$asmmode intel} 28 {$ENDIF} 29 23 30 {$ifdef BGRASSE_AVAILABLE} 24 {$asmmode intel}25 31 //SSE rotate singles 26 32 const Shift231 = 1 + 8; … … 351 357 begin 352 358 asm 353 {$ i sseloadv.inc}359 {$DEFINE SSE_LOADV}{$i bgrasse.inc} 354 360 movaps xmm2, xmm1 355 361 mulps xmm2, xmm2 … … 377 383 rsqrtps xmm2, xmm2 378 384 mulps xmm1, xmm2 //apply 379 {$ i ssesavev.inc}385 {$DEFINE SSE_SAVEV}{$i bgrasse.inc} 380 386 end; 381 387 end; … … 387 393 begin 388 394 asm 389 {$ i sseloadv.inc}395 {$DEFINE SSE_LOADV}{$i bgrasse.inc} 390 396 movaps xmm2, xmm1 391 397 mulps xmm2, xmm2 … … 407 413 rsqrtps xmm2, xmm2 408 414 mulps xmm1, xmm2 //apply 409 {$ i ssesavev.inc}415 {$DEFINE SSE_SAVEV}{$i bgrasse.inc} 410 416 end; 411 417 end; … … 419 425 begin 420 426 asm 421 {$ i sseloadv.inc}427 {$DEFINE SSE_LOADV}{$i bgrasse.inc} 422 428 movaps xmm2, xmm1 423 429 mulps xmm2, xmm2 … … 451 457 rsqrtps xmm2, xmm2 452 458 mulps xmm1, xmm2 //apply 453 {$ i ssesavev.inc}459 {$DEFINE SSE_SAVEV}{$i bgrasse.inc} 454 460 end; 455 461 end
Note:
See TracChangeset
for help on using the changeset viewer.