Ignore:
Timestamp:
Dec 22, 2016, 8:49:19 PM (7 years ago)
Author:
chronos
Message:
  • Modified: Updated BGRABitmap package.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GraphicTest/Packages/bgrabitmap/bgrasse.pas

    r472 r494  
    2121var UseSSE, UseSSE2, UseSSE3 : boolean;
    2222
     23{$ifdef CPUI386}
     24  {$asmmode intel}
     25{$ENDIF}
     26{$ifdef cpux86_64}
     27  {$asmmode intel}
     28{$ENDIF}
     29
    2330{$ifdef BGRASSE_AVAILABLE}
    24   {$asmmode intel}
    2531  //SSE rotate singles
    2632  const Shift231 = 1 + 8;
     
    351357begin
    352358  asm
    353     {$i sseloadv.inc}
     359    {$DEFINE SSE_LOADV}{$i bgrasse.inc}
    354360    movaps xmm2, xmm1
    355361    mulps xmm2, xmm2
     
    377383    rsqrtps xmm2, xmm2
    378384    mulps xmm1, xmm2  //apply
    379     {$i ssesavev.inc}
     385    {$DEFINE SSE_SAVEV}{$i bgrasse.inc}
    380386  end;
    381387end;
     
    387393begin
    388394  asm
    389     {$i sseloadv.inc}
     395    {$DEFINE SSE_LOADV}{$i bgrasse.inc}
    390396    movaps xmm2, xmm1
    391397    mulps xmm2, xmm2
     
    407413    rsqrtps xmm2, xmm2
    408414    mulps xmm1, xmm2  //apply
    409     {$i ssesavev.inc}
     415    {$DEFINE SSE_SAVEV}{$i bgrasse.inc}
    410416  end;
    411417end;
     
    419425    begin
    420426      asm
    421         {$i sseloadv.inc}
     427        {$DEFINE SSE_LOADV}{$i bgrasse.inc}
    422428        movaps xmm2, xmm1
    423429        mulps xmm2, xmm2
     
    451457        rsqrtps xmm2, xmm2
    452458        mulps xmm1, xmm2  //apply
    453         {$i ssesavev.inc}
     459        {$DEFINE SSE_SAVEV}{$i bgrasse.inc}
    454460      end;
    455461    end
Note: See TracChangeset for help on using the changeset viewer.