internal/load: rerun code generation

Updates #50
This commit is contained in:
Michael McLoughlin
2019-01-20 22:43:14 -08:00
parent 220969f8c8
commit 2d7a9ddb6c
3 changed files with 45 additions and 0 deletions

View File

@@ -6343,6 +6343,34 @@ var Instructions = []Instruction{
{Type: "m64", Action: 0x2},
},
},
{
ISA: []string{"SSE2"},
Operands: []Operand{
{Type: "xmm", Action: 0x1},
{Type: "r32", Action: 0x2},
},
},
{
ISA: []string{"SSE2"},
Operands: []Operand{
{Type: "r32", Action: 0x1},
{Type: "xmm", Action: 0x2},
},
},
{
ISA: []string{"SSE2"},
Operands: []Operand{
{Type: "m32", Action: 0x1},
{Type: "xmm", Action: 0x2},
},
},
{
ISA: []string{"SSE2"},
Operands: []Operand{
{Type: "xmm", Action: 0x1},
{Type: "m32", Action: 0x2},
},
},
},
},
{

View File

@@ -0,0 +1,10 @@
// Code generated by command: go run asm.go -out issue50.s -stubs stub.go. DO NOT EDIT.
#include "textflag.h"
// func Issue50(x uint32) uint32
TEXT ·Issue50(SB), NOSPLIT, $0-12
MOVL x+0(FP), AX
MOVQ AX, X0
MOVQ X0, ret+8(FP)
RET

View File

@@ -0,0 +1,7 @@
// Code generated by command: go run asm.go -out issue50.s -stubs stub.go. DO NOT EDIT.
package issue50
// Issue50 reported that MOVD/MOVQ was missing the r32, xmm form.
// This function deliberately exercises this instruction form.
func Issue50(x uint32) uint32