Wolfgang (Blub) Bumiller
|
028543db8c
|
ast_binary now keeps track of types
|
2012-08-12 11:36:28 +02:00 |
|
Wolfgang (Blub) Bumiller
|
5240aa8379
|
ast_istype should add the TYPE_ prefix
|
2012-08-12 11:36:15 +02:00 |
|
Wolfgang (Blub) Bumiller
|
7e3edea621
|
fixing the messup of MUL_FV and _VF being swapped - getting rid of additions that really have no place here (YET) (matrix/quaternion types)
|
2012-08-12 11:34:55 +02:00 |
|
Wolfgang (Blub) Bumiller
|
647582aeb4
|
merging master
|
2012-08-12 11:28:52 +02:00 |
|
Wolfgang (Blub) Bumiller
|
b968927074
|
default case for ir_value_dump's type switch
|
2012-08-12 11:28:18 +02:00 |
|
Wolfgang (Blub) Bumiller
|
c3cbda8b2b
|
ir_instr_dump to print CALL+paramcountfor calls rather than CALL0 always
|
2012-08-12 10:19:33 +02:00 |
|
Wolfgang (Blub) Bumiller
|
93d372f222
|
TYPE_FUNCTION in ir_value_dump to show '(function)' rather than '(void)'
|
2012-08-12 10:15:27 +02:00 |
|
Wolfgang (Blub) Bumiller
|
2cba6f08fe
|
indentation of ir debug dump functions
|
2012-08-12 10:14:22 +02:00 |
|
Wolfgang (Blub) Bumiller
|
d68d19dbfd
|
Merging master to handle vector members, fields, and members of vector fields
|
2012-08-12 10:08:41 +02:00 |
|
Wolfgang (Blub) Bumiller
|
b20136e5f4
|
Working vector-field test
|
2012-08-11 22:14:55 +02:00 |
|
Wolfgang (Blub) Bumiller
|
8b168077c7
|
IR generation of vector-fields put the 'main' vector offset at the wrong position - fixed that
|
2012-08-11 22:14:45 +02:00 |
|
Wolfgang (Blub) Bumiller
|
56c23dc11e
|
ast_member_new now fixed up for fields, ast_shallow_type added for creation of a type-only ast_expression
|
2012-08-11 22:14:16 +02:00 |
|
Wolfgang (Blub) Bumiller
|
060bddb922
|
same +1 offset in LOAD_V as STOREP fixed
|
2012-08-11 22:11:08 +02:00 |
|
Wolfgang (Blub) Bumiller
|
c94c36d68b
|
testing writing to multiple fields, including a vector field
|
2012-08-11 21:18:46 +02:00 |
|
Wolfgang (Blub) Bumiller
|
b36fabe4d7
|
print builtin now prints all the passed strings, not just the first
|
2012-08-11 21:18:15 +02:00 |
|
Wolfgang (Blub) Bumiller
|
20831ddc6c
|
fixing address check INSTR_STOREP_V in execloop - it kept us from writing to a vector when it was the last declared entityfield
|
2012-08-11 21:17:49 +02:00 |
|
Wolfgang (Blub) Bumiller
|
c31c59312b
|
ir_block_create_store/p will now honor -fadjust-vector-fields by using STORE_V/STOREP_V instead of _FLD on vector-fields
|
2012-08-11 19:38:02 +02:00 |
|
Wolfgang (Blub) Bumiller
|
d4983b0b55
|
-fadjust-vector-fields
|
2012-08-11 19:35:08 +02:00 |
|
Wolfgang (Blub) Bumiller
|
bb1f38de5d
|
also generate _y and _z data for fieldpointers
|
2012-08-11 19:34:58 +02:00 |
|
Wolfgang (Blub) Bumiller
|
228b3cca41
|
to support .vector's _y and _z we need to add the global-data pointing to _y and _z...
|
2012-08-11 19:08:23 +02:00 |
|
Wolfgang (Blub) Bumiller
|
3f234591da
|
testcase for print(ftos(pawn.mema)) slightly changed, now not using a temporary location
|
2012-08-11 18:09:45 +02:00 |
|
Wolfgang (Blub) Bumiller
|
fda4687ece
|
STOREP also has the destination in OPB rather than OPC
|
2012-08-11 18:06:10 +02:00 |
|
Wolfgang (Blub) Bumiller
|
91e3765a00
|
Generating fields using ir_builder_create_field
|
2012-08-11 18:05:56 +02:00 |
|
Wolfgang (Blub) Bumiller
|
5f2a775d41
|
generate address of store_return values created with ir_value_out properly
|
2012-08-11 17:53:41 +02:00 |
|
Wolfgang (Blub) Bumiller
|
cf04b5ed01
|
Need to keep prog->entities up to date when spawning entities
|
2012-08-11 17:35:55 +02:00 |
|
Wolfgang (Blub) Bumiller
|
919d73b0a0
|
experimental support for spawn() in the executor
|
2012-08-11 17:31:08 +02:00 |
|
Wolfgang (Blub) Bumiller
|
a661536c87
|
use the correct STORE instruction, make pawn a local
|
2012-08-11 16:39:04 +02:00 |
|
Wolfgang (Blub) Bumiller
|
062449ecd6
|
ir_block_create_store_op checks whether or not the storetype is an SSA value - do not do that for storeP instructions
|
2012-08-11 16:38:17 +02:00 |
|
Wolfgang (Blub) Bumiller
|
7b36bbf7b2
|
ast macros to use the return value of a call, trying to spawn an entity, setting a member, and reading the member back, using print+ftos to print it then
|
2012-08-11 16:28:07 +02:00 |
|
Wolfgang (Blub) Bumiller
|
805c08e914
|
ast macros to create a field, generating fields in ast-test
|
2012-08-11 16:10:33 +02:00 |
|
Wolfgang (Blub) Bumiller
|
04db054466
|
-std=gmqcc should add a dot prefix to the globals for fields, the field itself doesn't use the dot prefix for its name though
|
2012-08-11 16:08:38 +02:00 |
|
Wolfgang (Blub) Bumiller
|
f51ad96620
|
removing an unused variable
|
2012-08-11 15:41:37 +02:00 |
|
Wolfgang (Blub) Bumiller
|
1559dedfd9
|
ir_value_set_field
|
2012-08-11 15:41:10 +02:00 |
|
Wolfgang (Blub) Bumiller
|
5c0ac35d4c
|
tempcomitting parser changes for fields
|
2012-08-11 15:40:03 +02:00 |
|
Wolfgang (Blub) Bumiller
|
c16a17ed5f
|
recognize a dot as a single char token
|
2012-08-11 14:45:49 +02:00 |
|
Wolfgang (Blub) Bumiller
|
c1e305088e
|
Merge branch 'master' into blub/bc3
|
2012-08-11 11:46:59 +02:00 |
|
Wolfgang (Blub) Bumiller
|
48d330a1e9
|
unnamed globals in the trace output use [@addr] now instead of [#addr] since # is used as a prefix for all immediates, so now it's less confusing
|
2012-08-11 11:46:44 +02:00 |
|
Wolfgang (Blub) Bumiller
|
9b2e26a189
|
don't set globaladdr directly, use a setter, the setter will update the member values used for vector access too
|
2012-08-11 11:45:26 +02:00 |
|
Wolfgang (Blub) Bumiller
|
cbaf9095ce
|
Merge branch 'master' into blub/bc3
|
2012-08-11 11:32:12 +02:00 |
|
Wolfgang (Blub) Bumiller
|
b5bee640d0
|
nicer trace output, strings now get escaped
|
2012-08-11 11:31:50 +02:00 |
|
Wolfgang (Blub) Bumiller
|
ce082551d8
|
handling if/else, shunting yard now leaves unmatched closing paren-tokens on the parser for this purpose
|
2012-08-11 11:17:46 +02:00 |
|
Wolfgang (Blub) Bumiller
|
3e4f490a59
|
Handling blocks and inner blocks
|
2012-08-11 10:35:10 +02:00 |
|
Wolfgang (Blub) Bumiller
|
d3d2e00b64
|
let's be less insane with function naming and prepare parsing for control structures
|
2012-08-11 10:30:54 +02:00 |
|
Wolfgang (Blub) Bumiller
|
167b432622
|
creating vector's _xyz globals now, accessing them
|
2012-08-10 22:59:47 +02:00 |
|
Wolfgang (Blub) Bumiller
|
55743936d9
|
Merge branch 'master' into blub/bc3
|
2012-08-10 20:48:42 +02:00 |
|
Wolfgang (Blub) Bumiller
|
9c2e6a2334
|
Experimental ast_member to access vector members
|
2012-08-08 14:49:37 +02:00 |
|
Wolfgang (Blub) Bumiller
|
6759c3633b
|
Merge branch 'master' into blub/bc3
|
2012-08-08 12:43:26 +02:00 |
|
Wolfgang (Blub) Bumiller
|
8dccf69060
|
fix the chack for -Wno- and -fno-, it needs to use NO_ instead of no-
|
2012-08-08 12:43:02 +02:00 |
|
Wolfgang (Blub) Bumiller
|
edd5da4c49
|
rename a helper function since the name was in use
|
2012-08-08 12:26:22 +02:00 |
|
Wolfgang (Blub) Bumiller
|
0bee759406
|
Merge branch 'master' into blub/bc3
|
2012-08-08 12:25:31 +02:00 |
|