]> Cypherpunks.ru repositories - gostls13.git/blobdiff - test/codegen/noextend.go
cmd/compile: remove more extension ops when not needed
[gostls13.git] / test / codegen / noextend.go
index 61c98a796a3185e28dfdd71c8707a9d3ad6925fc..98ad0ece89db938ea51cf74b280c0a8431861d36 100644 (file)
@@ -279,3 +279,8 @@ func shouldSignEXT(x int) int64 {
        return ret
 
 }
+
+func noIntermediateExtension(a, b, c uint32) uint32 {
+       // arm64:-"MOVWU"
+       return a*b*9 + c
+}