deep

a Cross Development Platform for Java

User Tools

Site Tools


dev:crosscompiler:backend_arm:code_generator

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
dev:crosscompiler:backend_arm:code_generator [2019/11/17 19:53]
ursgraf [Exception Stackframe]
dev:crosscompiler:backend_arm:code_generator [2019/11/17 19:54] (current)
ursgraf [Exception Stackframe]
Line 21: Line 21:
 [{{ :​dev:​crosscompiler:​backend_arm:​exceptionstackframearm.png?​350&​direct | //Stack frame for exception method//}}] [{{ :​dev:​crosscompiler:​backend_arm:​exceptionstackframearm.png?​350&​direct | //Stack frame for exception method//}}]
  
-For efficiency, the exception stack frame does not contain space for locals. Hence, you are not allowed to use so many locals that this becomes necessary. This will be checked for when compiling exception methods. ​+For efficiency, the exception stack frame does not contain space for locals. Hence, you are not allowed to use so many locals that this becomes necessary. This will be checked for when compiling exception methods. ​Storage for interface methods as well as the area for parameter passing are not necessary as well. 
 + 
 Optimization:​ The ARM architecture has lots of EXTR'​s. One could use half of them in normal methods and the other half in exception methods. For such a case all normal methods which could be called from within exception methods must be translated a second time with the second set. The compiler would have to find out how to handle each method. Optimization:​ The ARM architecture has lots of EXTR'​s. One could use half of them in normal methods and the other half in exception methods. For such a case all normal methods which could be called from within exception methods must be translated a second time with the second set. The compiler would have to find out how to handle each method.
  
dev/crosscompiler/backend_arm/code_generator.txt · Last modified: 2019/11/17 19:54 by ursgraf