delve/_fixtures/xmm0print/main.go
Alessandro Arzilli ac81269eef
proc: fix prettyprint for register components with large values (#3022)
Fix pretty printing for CPU register components (created with the
XMM0.uintN syntax) while using format strings
Also fixes printing large literal constants with format strings.

Fixes #3020
2022-06-02 10:16:32 -07:00

17 lines
278 B
Go

package main
import "fmt"
//go:noescape
func VPSLLQ36(src, dst *[4]uint64)
func main() {
src := [4]uint64{0: 0x38180a06, 1: 0x38180a06, 2: 0x18080200, 3: 0x18080200}
dst := [4]uint64{}
VPSLLQ36(&src, &dst)
for _, qword := range dst {
fmt.Printf("%064b\n", qword)
}
}