collect and emit fp constants
This commit is contained in:
parent
916555cb10
commit
16e430935d
4 changed files with 71 additions and 5 deletions
|
@ -386,8 +386,7 @@ struct Con {
|
|||
double d;
|
||||
float s;
|
||||
} bits;
|
||||
char flt; /* 1 for single precision, 2 for double */
|
||||
char emit;
|
||||
char flt; /* for printing, see parse.c */
|
||||
};
|
||||
|
||||
typedef struct Addr Addr;
|
||||
|
@ -511,3 +510,5 @@ void rega(Fn *);
|
|||
/* emit.c */
|
||||
void emitfn(Fn *, FILE *);
|
||||
void emitdat(Dat *, FILE *);
|
||||
int stashfp(int64_t, int);
|
||||
void emitfin(FILE *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue