You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For each C-extension instruction, such as load/store or arithmetic operations, try to create a corresponding macro-assembler API (if not already existing) that would generate C-extension instructions when target architecture supports C extension and that the registers/offsets of the API satisfy the constraints of C-extension instructions.
For instance, existing TurboAssembler::Add(...) can be extended to generate C.ADDI, C.ADDIW, and C.ADDI16SP.
Please breakdown the support into separate issues so that they can be reviewed thoroughly (as there is not a clear definition which macro-assembler APIs may generate C extension instructions)
Stack-pointer-based loads and stores
Register-based loads and stores
Control transfer
Integer Constant-Generation
Integer Register-Immediate Operations
Nop, break
The text was updated successfully, but these errors were encountered:
penguinwu
changed the title
[C-extension support] Generate C-extension instructions in macro-assembler
[C-extension] Generate C-extension instructions in macro-assembler
Oct 22, 2020
For each C-extension instruction, such as load/store or arithmetic operations, try to create a corresponding macro-assembler API (if not already existing) that would generate C-extension instructions when target architecture supports C extension and that the registers/offsets of the API satisfy the constraints of C-extension instructions.
For instance, existing
TurboAssembler::Add(...)
can be extended to generateC.ADDI
,C.ADDIW
, andC.ADDI16SP
.Please breakdown the support into separate issues so that they can be reviewed thoroughly (as there is not a clear definition which macro-assembler APIs may generate C extension instructions)
The text was updated successfully, but these errors were encountered: