- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for SubFromConst (0.13 sec)
-
test/codegen/arithmetic.go
arr[d] -= 15 // 386:`DECL\s\([A-Z]+\)\([A-Z]+\*4\)` arr[b]-- // amd64:`DECQ\s64\([A-Z]+\)` arr[8]-- // 386:"SUBL\t4" // amd64:"SUBQ\t8" return arr[0] - arr[1] } func SubFromConst(a int) int { // ppc64x: `SUBC\tR[0-9]+,\s[$]40,\sR` b := 40 - a return b } func SubFromConstNeg(a int) int { // ppc64x: `ADD\t[$]40,\sR[0-9]+,\sR` c := 40 - (-a) return c }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:28:00 UTC 2024 - 15.2K bytes - Viewed (0)