Commit graph

1570 commits

Author SHA1 Message Date
Wolfgang (Blub) Bumiller
8d121af47c Copyright notices 2012-04-25 17:27:49 +02:00
Wolfgang (Blub) Bumiller
6ba195bcfe todo note 2012-04-25 17:27:49 +02:00
Wolfgang (Blub) Bumiller
418430e05d Get stuff ready to compile - #if 0 on instructions not yet added to the instruction list (eg integer ones) 2012-04-25 17:27:48 +02:00
Wolfgang (Blub) Bumiller
ef024e5b80 use CC ?= because clang crashes on me 2012-04-25 17:27:48 +02:00
Wolfgang (Blub) Bumiller
522738de48 Adding liferange-calculation used later for templ-allocateion 2012-04-25 17:27:48 +02:00
Wolfgang (Blub) Bumiller
095d403acc more weak typing 2012-04-25 17:27:48 +02:00
Wolfgang (Blub) Bumiller
08f6e65b1c _naive_ phi solver 2012-04-25 17:27:48 +02:00
Wolfgang (Blub) Bumiller
d1ce8de3e4 ifalse->false and true again, binop code 2012-04-25 17:27:48 +02:00
Wolfgang (Blub) Bumiller
adb1ab6ce2 A few of the main IR operation implementations 2012-04-25 17:27:48 +02:00
Wolfgang (Blub) Bumiller
8dd593b306 removed an old vector related function 2012-04-25 17:27:48 +02:00
Wolfgang (Blub) Bumiller
e0cd68c72a ir.c: ir_value and style fixups 2012-04-25 17:27:48 +02:00
Wolfgang (Blub) Bumiller
be620ff431 Same style fixups for ir_instr 2012-04-25 17:27:48 +02:00
Wolfgang (Blub) Bumiller
38532ceb11 ir.c: ir_instr 2012-04-25 17:27:48 +02:00
Wolfgang (Blub) Bumiller
dbe1b56f48 Same style fixup for ir_block as previous commits for function 2012-04-25 17:27:48 +02:00
Wolfgang (Blub) Bumiller
2e0feca040 ir.c: importing ir_block 2012-04-25 17:27:48 +02:00
Wolfgang (Blub) Bumiller
334e587c30 filecontext_t -> lex_ctx_t, removing some const 2012-04-25 17:27:48 +02:00
Wolfgang (Blub) Bumiller
9343936082 space idnentation, macros, strdup again 2012-04-25 17:27:48 +02:00
Wolfgang (Blub) Bumiller
9b6cfcb80f ir.c: importing ir_function 2012-04-25 17:27:47 +02:00
Wolfgang (Blub) Bumiller
86bed959d4 Space indentation in ir.c builder part 2012-04-25 17:27:47 +02:00
Wolfgang (Blub) Bumiller
356a16820a macros, strdup->util_strdup, malloc->mem_a 2012-04-25 17:27:47 +02:00
Wolfgang (Blub) Bumiller
1cc0cfdcec importing from ir_builder.c -> ir.c 2012-04-25 17:27:47 +02:00
Wolfgang (Blub) Bumiller
eeced7f392 ast.h 2012-04-25 17:27:47 +02:00
Wolfgang (Blub) Bumiller
22fcf399e0 Adding the 3 virtual instructions required for the IR later. 2012-04-25 17:27:47 +02:00
Wolfgang (Blub) Bumiller
42d9ff3563 Remove some underscores 2012-04-25 17:27:47 +02:00
Wolfgang (Blub) Bumiller
ce3eac4612 Vector macros 2012-04-25 17:27:47 +02:00
Wolfgang (Blub) Bumiller
0b374daceb Adopting space indentation in ir.h 2012-04-25 17:27:47 +02:00
Wolfgang (Blub) Bumiller
727698e9f7 Importing ir.h 2012-04-25 17:27:47 +02:00
Wolfgang (Blub) Bumiller
392fc2227f Removed unnecessary line 2012-04-25 17:27:47 +02:00
Wolfgang (Blub) Bumiller
3b407fdc07 Space indentation for ast->ir part 2012-04-25 17:27:47 +02:00
Wolfgang (Blub) Bumiller
a82083bc78 i{false,true} -> {false,true} 2012-04-25 17:27:47 +02:00
Wolfgang (Blub) Bumiller
6236a0c464 Adding from astcodegen.c 2012-04-25 17:27:47 +02:00
Wolfgang (Blub) Bumiller
e9b581adfb style-fix 2012-04-25 17:27:47 +02:00
Wolfgang (Blub) Bumiller
c520a32444 use the actual VECTOR macros 2012-04-25 17:27:46 +02:00
Wolfgang (Blub) Bumiller
2cc27af146 filecontext_t -> lex_ctx_t 2012-04-25 17:27:46 +02:00
Wolfgang (Blub) Bumiller
56f548cc6f strdup -> util_strdup, _name -> name 2012-04-25 17:27:46 +02:00
Wolfgang (Blub) Bumiller
57d3da0ebb Adopting space-indentation 2012-04-25 17:27:46 +02:00
Wolfgang (Blub) Bumiller
40f70d075e Importing ast.c 2012-04-25 17:27:46 +02:00
Wolfgang (Blub) Bumiller
ff6c64e16c astir.h: importing some macros and types - to be merged into ast.h later 2012-04-25 17:27:46 +02:00
Dale Weiler
6b5776776d CRC16 implementation 2012-04-24 16:52:53 -04:00
Dale Weiler
988009a4b3 assembler.c -> asm.c 2012-04-24 16:19:05 -04:00
Dale Weiler
6d0b925fbb test/ -> data/ 2012-04-24 13:09:17 -04:00
Wolfgang (Blub) Bumiller
c111239467 Test write access by adding an AUTHORS file 2012-04-24 18:47:09 +02:00
Dale Weiler
a68b56c2c3 AUTHORS 2012-04-24 13:05:19 -04:00
Dale Weiler
8049252f65 new progs format proposal for engine developers (45% of globals are 0, why write them, let the engine populate them. We can essentially save 9884 bytes in xonotic's progs.dat with this new format.) 2012-04-24 08:19:48 -04:00
Dale Weiler
cda5076356 undo util_endianswap 2012-04-22 16:59:00 -04:00
Dale Weiler
691d146d9b -fdarkplaces-stringtablebug 2012-04-22 16:58:12 -04:00
Dale Weiler
4d001da04e Language type selection at command line. 2012-04-21 22:55:30 -04:00
Dale Weiler
7849f8c597 slightly faster hash function (using crc32), with precomputed polynomial table (256x32-bit entries, eight shifted xor operations). QuakeC header files include a crc16 in them (this isn't it, that is on the TODO list) 2012-04-21 16:02:33 -04:00
Dale Weiler
7ce3964772 removed branch 2012-04-20 01:24:11 -04:00
Dale Weiler
03295d7adc command line argument parsing. 2012-04-20 01:20:22 -04:00