diff options
author | Robert de Bath <rdebath@poboxes.com> | 1999-01-23 13:29:22 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:40:39 +0200 |
commit | e62b35169cdcd13632ae353b1e5ffde7dec44201 (patch) | |
tree | 2646548ca84edb365354a6e68459f92943532cee /bcc/genloads.c | |
parent | 2233d47f9d89c107b6c425626d6eb2669363b055 (diff) | |
download | dev86-e62b35169cdcd13632ae353b1e5ffde7dec44201.tar.gz |
Import Dev86src-0.14.7.tar.gzv0.14.7
Diffstat (limited to 'bcc/genloads.c')
-rw-r--r-- | bcc/genloads.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bcc/genloads.c b/bcc/genloads.c index b39856e..9aff996 100644 --- a/bcc/genloads.c +++ b/bcc/genloads.c @@ -348,12 +348,14 @@ store_pt targreg; return; if (source->storage == CONSTANT) { +#ifdef I80386 if (i386_32) { loadconst(((offset_T *) source->offset.offd)[0], DREG); loadconst(((offset_T *) source->offset.offd)[1], targreg&~DREG); } else /* XXX - more for non-386 */ +#endif { int regs, i, off=1; loadconst(((unsigned short *) source->offset.offd)[0], DREG); @@ -394,7 +396,11 @@ store_pt targreg; loadconst(((unsigned short *) &val)[1], targreg&~DREG); } } +#ifdef I80386 else if (!i386_32 && source->type->scalar & FLOAT) +#else + else if (source->type->scalar & FLOAT) +#endif { /* Treat a float just like a long ... */ if (source->indcount == 0) |