package asmgen
var ArchLoong64 = &Arch{
Name: "loong64",
WordBits: 64,
WordBytes: 8,
CarrySafeLoop: true,
regs: []string{
"R4", "R5", "R6", "R7", "R8", "R9",
"R10", "R11", "R12", "R13", "R14", "R15", "R16", "R17", "R18", "R19",
"R20", "R21", "R23", "R24", "R25", "R26", "R27",
"R31",
},
reg0: "R0",
regCarry: "R28",
regAltCarry: "R29",
regTmp: "R30",
mov: "MOVV",
add: "ADDVU",
sub: "SUBVU",
sltu: "SGTU",
mul: "MULV",
mulhi: "MULHVU",
lsh: "SLLV",
rsh: "SRLV",
and: "AND",
or: "OR",
xor: "XOR",
jmpZero: "BEQ %s, %s",
jmpNonZero: "BNE %s, %s",
}
 |
The pages are generated with Golds v0.7.7-preview. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |