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
x/exp/shiny/driver/internal: swizzle still needs to detect instruction on amd64 #12714
Comments
/cc @nigeltao |
What does "cpuid -1" without the grep say? I think that PSHUFB was introduced in SSSE3. |
... CPU: |
I believe that this is fixed, but I obviously didn't try it on your CPU. Please re-open if you're still seeing problems. |
I tried it. That did fix it on my CPU. Thanks! On Wed, Sep 23, 2015 at 9:06 PM Nigel Tao notifications@github.com wrote:
|
CPU: AMD Phenom II X6 (Thuban PH-E0) 1055T
$cpuid -1 |grep SSE4
SSE4.1 extensions = false
SSE4.2 extensions = false
SSE4A support = true
SIGILL: illegal instruction
PC=0x552cd5 m=6
goroutine 1 [running]:
golang.org/x/exp/shiny/driver/internal/swizzle.bgra16(0x7f982d522000, 0x40000, 0x40000)
/home/daniel/src/golang.org/x/exp/shiny/driver/internal/swizzle/swizzle_amd64.s:36 +0x45 fp=0xc8200517f0 sp=0xc8200517e8
golang.org/x/exp/shiny/driver/internal/swizzle.BGRA(0x7f982d522000, 0x40000, 0x40000)
/home/daniel/src/golang.org/x/exp/shiny/driver/internal/swizzle/swizzle_common.go:21 +0xcf fp=0xc820051850 sp=0xc8200517f0
golang.org/x/exp/shiny/driver/x11driver.(*bufferImpl).preUpload(0xc820106000)
/home/daniel/src/golang.org/x/exp/shiny/driver/x11driver/buffer.go:54 +0x11d fp=0xc820051898 sp=0xc820051850
...
rax 0xf0c0d0e0b08090a
rbx 0x0
rcx 0xc820000180
rdx 0x40000
rdi 0x7f982d562000
rsi 0x7f982d522000
rbp 0x40000
rsp 0xc8200517e8
r8 0x7f982d522000
r9 0x676050
r10 0x2
r11 0x246
r12 0x5
r13 0x6c24cc
r14 0x8
r15 0x0
rip 0x552cd5
rflags 0x10287
cs 0x33
fs 0x0
gs 0x0
exit status 2
The text was updated successfully, but these errors were encountered: