* Fixed Build-Depends. * Add myself to Uploaders in debian/control. * Make sure that the sources are really patched before building them. * Build unit 'libc' on powerpc too.
$Id: ncgcon.pas,v 1.49 2005/02/14 17:13:06 peter Exp $
3
2
Copyright (c) 1998-2002 by Florian Klaempfl
4
3
5
4
Generate assembler for constant nodes which are the same for
86
85
hp1 : tai;
87
86
lastlabel : tasmlabel;
88
87
realait : taitype;
88
value_real_sign, hp1_sign: pbyte;
89
89
{$ifdef ARM}
90
90
hiloswapped : boolean;
91
91
{$endif ARM}
112
112
begin
113
113
if is_number_float(value_real) and
114
114
(
115
((realait=ait_real_32bit) and (tai_real_32bit(hp1).value=value_real) and is_number_float(tai_real_32bit(hp1).value)) or
115
((realait=ait_real_32bit) and (tai_real_32bit(hp1).value=value_real) and is_number_float(tai_real_32bit(hp1).value) and (get_real_sign(value_real) = get_real_sign(tai_real_32bit(hp1).value))) or
116
116
((realait=ait_real_64bit) and
117
117
{$ifdef ARM}
118
118
((tai_real_64bit(hp1).formatoptions=fo_hiloswapped)=hiloswapped) and
119
119
{$endif ARM}
120
(tai_real_64bit(hp1).value=value_real) and is_number_float(tai_real_64bit(hp1).value)) or
121
((realait=ait_real_80bit) and (tai_real_80bit(hp1).value=value_real) and is_number_float(tai_real_80bit(hp1).value)) or
120
(tai_real_64bit(hp1).value=value_real) and is_number_float(tai_real_64bit(hp1).value) and (get_real_sign(value_real) = get_real_sign(tai_real_64bit(hp1).value))) or
121
((realait=ait_real_80bit) and (tai_real_80bit(hp1).value=value_real) and is_number_float(tai_real_80bit(hp1).value) and (get_real_sign(value_real) = get_real_sign(tai_real_80bit(hp1).value))) or
122
122
{$ifdef cpufloat128}
123
((realait=ait_real_128bit) and (tai_real_128bit(hp1).value=value_real) and is_number_float(tai_real_128bit(hp1).value)) or
123
((realait=ait_real_128bit) and (tai_real_128bit(hp1).value=value_real) and is_number_float(tai_real_128bit(hp1).value) and (get_real_sign(value_real) = get_real_sign(tai_real_128bit(hp1).value))) or
124
124
{$endif cpufloat128}
125
((realait=ait_comp_64bit) and (tai_comp_64bit(hp1).value=value_real) and is_number_float(tai_comp_64bit(hp1).value))
125
((realait=ait_comp_64bit) and (tai_comp_64bit(hp1).value=value_real) and is_number_float(tai_comp_64bit(hp1).value) and (get_real_sign(value_real) = get_real_sign(tai_comp_64bit(hp1).value)))