mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 11:24:14 +02:00
Add conditional FASTMOVE_DISABLE_SSE3 to be able to discard SSE specific code, needed for Watcom Assembler support
git-svn-id: trunk@36848 -
This commit is contained in:
parent
ee79ff3635
commit
f4ecf87a50
@ -595,6 +595,7 @@ asm
|
||||
jmp SmallBackwardMove_3
|
||||
end; {Backwards_MMX}
|
||||
|
||||
{$ifndef FASTMOVE_DISABLE_SSE3}
|
||||
{-------------------------------------------------------------------------}
|
||||
{Dest MUST be 16-Byes Aligned, Count MUST be multiple of 16 }
|
||||
procedure AlignedFwdMoveSSE_3(const Source; var Dest; Count: Integer);assembler;nostackframe;
|
||||
@ -832,6 +833,7 @@ asm
|
||||
pop ebx
|
||||
jmp SmallBackwardMove_3
|
||||
end; {Backwards_SSE}
|
||||
{$endif ndef FASTMOVE_DISABLE_SSE3}
|
||||
|
||||
const
|
||||
fastmoveproc_forward : pointer = @Forwards_IA32_3;
|
||||
@ -886,13 +888,13 @@ procedure setup_fastmove;{$ifdef SYSTEMINLINE}inline;{$endif}
|
||||
fastmoveproc_forward:=@Forwards_Valgrind;
|
||||
fastmoveproc_backward:=@Backwards_Valgrind;
|
||||
end
|
||||
else
|
||||
|
||||
if has_sse_support then
|
||||
{$ifndef FASTMOVE_DISABLE_SSE3}
|
||||
else if has_sse_support then
|
||||
begin
|
||||
fastmoveproc_forward:=@Forwards_SSE_3;
|
||||
fastmoveproc_backward:=@Backwards_SSE_3;
|
||||
end
|
||||
{$endif ndef FASTMOVE_DISABLE_SSE3}
|
||||
else if has_mmx_support then
|
||||
begin
|
||||
fastmoveproc_forward:=@Forwards_MMX_3;
|
||||
|
Loading…
Reference in New Issue
Block a user