-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Interp] Interpreter for ARM32 SOFTP #120688
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 29 commits
c2b6454
ad24b45
04b980f
8cd71fa
55560c4
7df0312
5b3ef8e
02320b0
cb816e6
0cc0032
a09723d
07d975a
9875d8b
4d7d19f
ab7eca6
1cf65b7
aabd45b
e6a79a0
a5e1bd5
b3ba6ec
30e25e0
82769b4
f402453
4d48c03
1607eb2
8280ee2
df468a6
b93b7cd
a9c0d6e
705cf2e
fe42ce9
c69cb0d
4e3ac8d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,7 +14,11 @@ | |
| #define INTERP_API __attribute__ ((visibility ("default"))) | ||
| #endif // _MSC_VER | ||
|
|
||
| #if defined(TARGET_64BIT) || defined(TARGET_WASM) | ||
| #define INTERP_STACK_SLOT_SIZE 8 // Alignment of each var offset on the interpreter stack | ||
| #else // !TARGET_64BIT && !TARGET_WASM | ||
| #define INTERP_STACK_SLOT_SIZE 4 // Alignment of each var offset on the interpreter stack | ||
|
||
| #endif // TARGET_64BIT || TARGET_WASM | ||
| #define INTERP_STACK_ALIGNMENT 16 // Alignment of interpreter stack at the start of a frame | ||
|
|
||
| struct InterpHelperData { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not think we want some 32-bit platforms to be on 8-byte interpreter stack alignment plan and other 32-bit platforms to be on the 64-bit interpreter stack alignment plan.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I am not sure what you mean. From my understanding, you want to use the same 8-byte interpreter stack alignment plan for all platforms like @kg mentioned earlier. Is it correct?
I think I can make arm32 on 8-byte interpreter stack by adding more routines about 8 bytes value and 4 bytes value.
Thank you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that would be the simplest option.