tccgen: introduce TOK_NEG for unary minus
commitaeb8f427e2be133d6a0a67b695eb9579f5fa4232
authorgrischka <grischka>
Mon, 4 Jan 2021 12:16:05 +0000 (4 13:16 +0100)
committergrischka <grischka>
Wed, 6 Jan 2021 00:44:22 +0000 (6 01:44 +0100)
tree3f596f6e1ef82d46904c8f0f8c48f8f78c01cf10
parenta5865fab2208e1cb9e2adbb081d115bfd07de9b5
tccgen: introduce TOK_NEG for unary minus

for floats (currently only).  On x86_64 uses built-in fp
constants (in libtcc1.c) to avoid multiple anonymous
instances.

Also: win32/i386: use __alloca for big struct stack store
- use new function int tok_alloc_const(const char*);
- change alloca86.S to preserve EDX

tccelf.c: fix a warning with 'roinf_use'
i386-asm.c
i386-gen.c
lib/alloca86.S
lib/libtcc1.c
tcc.h
tccasm.c
tccelf.c
tccgen.c
tccpp.c
tcctok.h
x86_64-gen.c