[hackers] [scc] [cc1-qbe] Make long double equal to double || Roberto E. Vargas Caballero
commit 18ce7bbbae125238fec1f2054a4afd8528f5a464
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Fri Dec 16 13:22:45 2016 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Wed Dec 21 15:09:07 2016 +0100
[cc1-qbe] Make long double equal to double
Qbe does not support long doube at this moment, so the best option
is to emit DOUBLE for it. We will fix it later.
diff --git a/cc1/arch/qbe/arch.c b/cc1/arch/qbe/arch.c
index 10011c2..d339ba7 100644
--- a/cc1/arch/qbe/arch.c
+++ b/cc1/arch/qbe/arch.c
_AT_@ -155,11 +155,11 @@ static Type types[] = {
},
{ /* 16 = ldoubletype */
.op = FLOAT,
- .letter = L_LDOUBLE,
+ .letter = L_DOUBLE,
.prop = TDEFINED | TARITH,
- .size = 16,
- .align = 16,
- .n.rank = RANK_LDOUBLE,
+ .size = 8,
+ .align = 8,
+ .n.rank = RANK_DOUBLE,
},
{ /* 17 = sizettype */
.op = INT,
Received on Wed Dec 21 2016 - 15:09:16 CET
This archive was generated by hypermail 2.3.0
: Wed Dec 21 2016 - 15:12:18 CET