mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 19:09:23 +02:00
Fix use of unaligned for big endian code
This commit is contained in:
parent
3cf8ae8433
commit
5e0eb521c4
@ -204,7 +204,7 @@ begin
|
||||
exp:=exp+$8000;
|
||||
Pword(@r[r128_exponent_ofs])^:=exp;
|
||||
{$ifdef USE_UNALIGNED}
|
||||
Pqword(unaligned(@r[r128_mantissa_ofs]))^:=qword(v) shl 12;
|
||||
unaligned(Pqword(@r[r128_mantissa_ofs])^):=qword(v) shl 12;
|
||||
Pword(@r[r128_mantissa_ofs+8])^:=0;
|
||||
Pword(@r[r128_mantissa_ofs+10])^:=0;
|
||||
{$else not USE_UNALIGNED}
|
||||
|
Loading…
Reference in New Issue
Block a user