Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asm errors with gollvm #11

Open
advancedwebdeveloper opened this issue Oct 2, 2020 · 2 comments
Open

Asm errors with gollvm #11

advancedwebdeveloper opened this issue Oct 2, 2020 · 2 comments

Comments

@advancedwebdeveloper
Copy link

advancedwebdeveloper commented Oct 2, 2020

Hi.
Got these errors, while building your package:

$ go get -u github.com/vivint/infectious
go: github.com/vivint/infectious upgrade => v0.0.0-20200605153912-25a574ae18a3
go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd
go: golang.org/x/sys upgrade => v0.0.0-20200930185726-fdedc70b468f
go: downloading golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f
-> github.com/vivint/infectious
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s: Assembler messages:
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:72: Error: no such instruction: data nybble_mask<>+0x00(SB)/8,$0x0F0F0F0F0F0F0F0F' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:73: Error: no such instruction: data nybble_mask<>+0x08(SB)/8,$0x0F0F0F0F0F0F0F0F'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:74: Error: no such instruction: data nybble_mask<>+0x10(SB)/8,$0x0F0F0F0F0F0F0F0F' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:75: Error: no such instruction: data nybble_mask<>+0x18(SB)/8,$0x0F0F0F0F0F0F0F0F'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:76: Error: no such instruction: globl nybble_mask<>(SB),(NOPTR+RODATA),$32' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:92: Error: no such instruction: text ·addmulSSSE3(SB),7,$0'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:93: Error: junk (FP)' after expression ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:93: Error: too many memory references for movq'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:94: Error: junk (FP)' after expression ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:94: Error: too many memory references for movq'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:95: Error: junk (FP)' after expression ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:95: Error: too many memory references for movq'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:97: Error: too many memory references for movq' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:100: Error: invalid character '=' in operand 1 ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:102: Error: junk (FP)' after expression
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:102: Error: too many memory references for movq' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:103: Error: no such instruction: movou (LOWHIGH),LOW'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:104: Error: no such instruction: movou 16(LOWHIGH),HIGH' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:106: Error: no such instruction: movou nybble_mask<>(SB),LOMASK'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:107: Error: invalid character '=' in operand 2
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:110: Error: no such instruction: movou (IN)(INDEX*1),X0//X0=INPUT[INDEX]' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:111: Error: no such instruction: movou LOW,X4//X4=copy(LOW)'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:112: Error: no such instruction: movou (OUT)(INDEX*1),X2//X2=OUT[INDEX]' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:113: Error: no such instruction: movou X0,X1//X0=input[index]&15'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:114: Error: no such instruction: movou HIGH,X5//X5=copy(HIGH)' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:116: Error: too many memory references for pand'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:117: Error: invalid character '=' in operand 2
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:118: Error: invalid character '=' in operand 2
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:120: Error: invalid character '=' in operand 2
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:121: Error: invalid character '=' in operand 2
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:122: Error: invalid character '=' in operand 2
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:123: Error: too many memory references for pxor' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:125: Error: no such instruction: movou X2,0(OUT)(INDEX1)'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:128: Error: too many memory references for cmp' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:132: Error: junk (FP)' after expression
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:132: Error: too many memory references for movq' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:133: Error: too many memory references for movq'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:134: Error: too many memory references for cmp' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:138: Error: no such instruction: movbqzx (IN)(INDEX
1),R9//R9:=in[index]'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:139: Error: no such instruction: `movbqzx (LOWHIGH)(R9*1),R10//R10:=multiply[R9]'

@advancedwebdeveloper
Copy link
Author

advancedwebdeveloper commented Oct 2, 2020

../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:140: Error: invalid character '=' in operand 2
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:142: Error: too many memory references for cmp' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:159: Error: no such instruction: text ·addmulAVX2(SB),7,$0'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:160: Error: junk (FP)' after expression ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:160: Error: too many memory references for movq'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:161: Error: no such instruction: movou (SI),X6//X6:low' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:162: Error: no such instruction: movou 16(SI),X7//X7:high'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:164: Error: bad expression
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:164: Error: junk BX:low mask' after expression ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:165: Error: too many memory references for movq'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:167: Error: junk (FP)' after expression ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:167: Error: too many memory references for movq'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:169: Error: no such instruction: long $0x384de3c4' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:169: Error: invalid character '$' in mnemonic ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:169: Error: no such instruction: low'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:170: Error: no such instruction: long $0x3845e3c4' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:170: Error: invalid character '$' in mnemonic ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:170: Error: no such instruction: high'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:171: Error: no such instruction: long $0x787d62c4' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:171: Error: no such instruction: byte $0xc5//VPBROADCASTB YMM8,XMM5'

@advancedwebdeveloper
Copy link
Author

advancedwebdeveloper commented Oct 2, 2020

../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:171: Error: no such instruction: lomask (unpacked)' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:173: Error: bad expression ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:173: Error: junk len(in)/32' after expression
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:174: Error: junk (FP)' after expression ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:174: Error: too many memory references for movq'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:175: Error: junk (FP)' after expression ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:175: Error: too many memory references for movq'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:176: Error: too many memory references for test' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:180: Error: no such instruction: long $0x066ffec5//VMOVDQU YMM0,[rsi]'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:181: Error: no such instruction: long $0x226ffec5//VMOVDQU YMM4,[rdx]' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:182: Error: no such instruction: long $0xd073f5c5'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:182: Error: no such instruction: byte $0x04//VPSRLQ YMM1,YMM0,4' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:182: Error: no such instruction: high input'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:183: Error: no such instruction: long $0xdb7dc1c4' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:183: Error: no such instruction: byte $0xc0//VPAND YMM0,YMM0,YMM8'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:183: Error: no such instruction: low input' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:184: Error: no such instruction: long $0xdb75c1c4'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:184: Error: no such instruction: byte $0xc8//VPAND YMM1,YMM1,YMM8' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:184: Error: no such instruction: high input'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:185: Error: no such instruction: long $0x004de2c4' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:185: Error: no such instruction: byte $0xd0//VPSHUFB YMM2,YMM6,YMM0'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:185: Error: junk part' after expression ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:185: Error: no instruction mnemonic suffix given and no register operands; can't size instruction ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:186: Error: no such instruction: long $0x0045e2c4'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:186: Error: no such instruction: byte $0xd9//VPSHUFB YMM3,YMM7,YMM1' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:186: Error: junk part' after expression
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:186: Error: no instruction mnemonic suffix given and no register operands; can't size instruction
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:187: Error: no such instruction: long $0xdbefedc5//VPXOR YMM3,YMM2,YMM3' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:187: Error: no such instruction: result'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:188: Error: no such instruction: long $0xe4efe5c5//VPXOR YMM4,YMM3,YMM4' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:188: Error: no such instruction: result'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:189: Error: no such instruction: long $0x227ffec5//VMOVDQU [rdx],YMM4' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:191: Error: invalid character '=' in operand 2 ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:192: Error: invalid character '=' in operand 2 ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:198: Error: no such instruction: byte $0xc5'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:198: Error: no such instruction: byte $0xf8' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:198: Error: no such instruction: byte $0x77'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:164: Error: invalid operands (UND and ABS sections) for /' ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:164: Error: division by zero ../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:173: Error: invalid operands (*UND* and *ABS* sections) for /'
../../go/pkg/mod/github.com/vivint/[email protected]/addmul_amd64.s:173: Error: division by zero

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant