github.com/aykevl/tinygo@v0.5.0/src/runtime/arch_amd64.go (about) 1 package runtime 2 3 const GOARCH = "amd64" 4 5 // The bitness of the CPU (e.g. 8, 32, 64). 6 const TargetBits = 64 7 8 // Align a pointer. 9 // Note that some amd64 instructions (like movaps) expect 16-byte aligned 10 // memory, thus the result must be 16-byte aligned. 11 func align(ptr uintptr) uintptr { 12 return (ptr + 15) &^ 15 13 }