mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 10:29:21 +02:00
* small changes (copyright, typo, readability)
git-svn-id: trunk@23022 -
This commit is contained in:
parent
87bb1fe33e
commit
45f60bc4b5
@ -1,5 +1,5 @@
|
||||
{
|
||||
Copyright (c) 1998-2002 by Florian Klaempfl
|
||||
Copyright (c) 1998-2012 by Florian Klaempfl and others
|
||||
|
||||
Generate i386 assembler for constants
|
||||
|
||||
@ -44,13 +44,13 @@ implementation
|
||||
cga,cgx86,cgobj,cgbase,cgutils;
|
||||
|
||||
{*****************************************************************************
|
||||
TI386REALCONSTNODE
|
||||
TX86REALCONSTNODE
|
||||
*****************************************************************************}
|
||||
|
||||
function tx86realconstnode.pass_1 : tnode;
|
||||
begin
|
||||
result:=nil;
|
||||
if is_number_float(value_real) and not(use_vectorfpu(resultdef)) and (value_real=1.0) or (value_real=0.0) then
|
||||
if is_number_float(value_real) and not(use_vectorfpu(resultdef)) and ((value_real=1.0) or (value_real=0.0)) then
|
||||
expectloc:=LOC_FPUREGISTER
|
||||
else
|
||||
expectloc:=LOC_CREFERENCE;
|
||||
|
Loading…
Reference in New Issue
Block a user