1 // Copyright 2021 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
6 MOV $0, 0(SP) // ERROR "constant load must target register"
7 MOV $0, 8(SP) // ERROR "constant load must target register"
8 MOV $1234, 0(SP) // ERROR "constant load must target register"
9 MOV $1234, 8(SP) // ERROR "constant load must target register"
10 MOVB $1, X5 // ERROR "unsupported constant load"
11 MOVH $1, X5 // ERROR "unsupported constant load"
12 MOVW $1, X5 // ERROR "unsupported constant load"
13 MOVF $1, X5 // ERROR "unsupported constant load"