|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
Code selection trade-offs
Hi,
Do you know of any works where profiling information/ static program analysis is used as a heuristic to control code selection, i.e. the (profiling) execution counts of particular code structures are influencing the choice of instructions used to translate the source code into assembler? I want to leave the issue open how the execution counts are gained. This might happen by translating the source code one into machine code, perform profiling and than transform the profiling data back into the source code. , as an alternative, a static program analysis could be performed to extract information about the execution frequency of the high-level code constructs. I'm curious if you can imagine a case where this would make sense. I assume that this must be a case for a trade-off where you produce either slower and smaller code for the frequently executed code sections or some specialized code that increases the code size but leads to a shorted overall code execution time. Regards, Tim |
![]() |
| Viewing: Web Development Archives > FAQs > Compilers > Code selection trade-offs |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|