summaryrefslogtreecommitdiff
path: root/compiler/mips/ncpucnv.pas
diff options
context:
space:
mode:
authorjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2014-07-01 16:29:58 +0000
committerjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2014-07-01 16:29:58 +0000
commit9c85f0ef34b12d87f2a753ee250185327e4612bf (patch)
treecd1b4bf44fa81a2e9c6eedc6e33f97663c6d8fbf /compiler/mips/ncpucnv.pas
parent05b7b6f0cbe5af35b15495a7ad31efce99dc2bd9 (diff)
downloadfpc-9c85f0ef34b12d87f2a753ee250185327e4612bf.tar.gz
* grouped all tai_real* types into a single tai_realconst type,
to free up space for more ait_* types in taitype (can't have more than 32 because they have to fit in a small set) o factored out writing of floating point numbers as an array of byte in the external assemblers git-svn-id: http://svn.freepascal.org/svn/fpc/branches/hlcgllvm@28105 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/mips/ncpucnv.pas')
-rw-r--r--compiler/mips/ncpucnv.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/mips/ncpucnv.pas b/compiler/mips/ncpucnv.pas
index de219edec9..6195ffef24 100644
--- a/compiler/mips/ncpucnv.pas
+++ b/compiler/mips/ncpucnv.pas
@@ -171,7 +171,7 @@ begin
hregister := cg.getfpuregister(current_asmdata.CurrAsmList, OS_F64);
new_section(current_asmdata.asmlists[al_typedconsts],sec_rodata_norel,l1.name,const_align(8));
current_asmdata.asmlists[al_typedconsts].concat(Tai_label.Create(l1));
- current_asmdata.asmlists[al_typedconsts].concat(Tai_real_64bit.Create(4294967296.0));
+ current_asmdata.asmlists[al_typedconsts].concat(tai_realconst.create_s64real(4294967296.0));
cg.a_loadfpu_ref_reg(current_asmdata.CurrAsmList, OS_F64, OS_F64, href, hregister);
current_asmdata.CurrAsmList.concat(taicpu.op_reg_reg_reg(A_ADD_D, location.Register, hregister, location.Register));