Changes between Version 4 and Version 5 of squirrelfish
- Timestamp:
- Mar 24, 2008, 6:10:44 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
squirrelfish
v4 v5 16 16 17 17 Function calls to native functions (requires revamping the List class to be an alias to the register file -- Geoff has some ideas for making this fast) 18 19 '''Cameron is working on: 20 ''' 21 22 Investigating performance regressions caused by the introduction of new opcodes. In particular, a simple for loop with no body regresses about 25%. It seemed at first that this has to do with the fact that these instructions call arbitrary external functions, but some odd performance differences still occur without these calls. 23 24 Better code generation. We have been pondering whether to have a separate peephole optimization pass or to incorporate peephole optimization into code generation. Either way, we should look at some code generation algorithms based on tile matching. We also want to choose an approach that will be compatible with planned extensions, e.g. superinstructions. 18 25 19 26 '''You could take something from Geoff, or make something up yourself, or do one of these:''' … … 65 72 Future optimizations: 66 73 67 Tile matching algorithm for emitting faster patterns of code68 69 The introduction of op_new_func, op_call, and op_ret regressed the simple for loop tests by about 25%. Seems to have to do with the fact that these opcodes call arbitrary external functions.70 71 74 Use RefPtr to indicate use of register -- moves to un-refed registers should be stripped or consolidated to other instructions. 72 75 - i++ => ++i