G127 fail on machine without AVX #2

Closed
opened 2025-12-28 18:13:28 +00:00 by sami · 1 comment
Owner

Originally created by @im-kulikov on GitHub (Oct 8, 2019).

Originally assigned to: @fyrchik on GitHub.

github.com/nspcc-dev/tzhash/gf127.Mul(0xc0004860c0, 0xc000486100, 0xc000486140, 0xc000656d00, 0x40ca28, 0x40, 0xe06440, 0x1, 0xc000486140, 0xc0006
/src/vendor/github.com/nspcc-dev/tzhash/gf127/gf127_amd64.s:86 +0x12 fp=0xc000656cb8 sp=0xc000656cb0 pc=0xa4bc92
github.com/nspcc-dev/tzhash/tz.(*sl2).mul(0xc0004860c0, 0xc0004860c0, 0xc000486100, 0xc000486140, 0x0)
/src/vendor/github.com/nspcc-dev/tzhash/tz/sl2.go:84 +0x49 fp=0xc000656d10 sp=0xc000656cb8 pc=0xa4e1b9
github.com/nspcc-dev/tzhash/tz.(*sl2).Mul(...)
/src/vendor/github.com/nspcc-dev/tzhash/tz/sl2.go:132
github.com/nspcc-dev/tzhash/tz.Concat(0xc0001aa260, 0x1, 0x1, 0xc0001aa260, 0x40c1b6, 0xc000486040, 0x40, 0xd5b3529ebe7294dd)
/src/vendor/github.com/nspcc-dev/tzhash/tz/hash.go:97 +0xc1 fp=0xc000656d88 sp=0xc000656d10 pc=0xa4d271
bitbucket.org/nspcc-dev/neofs-node/lib/hash.Concat(0xc000486040, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/src/lib/hash/hash.go:88 +0x242 fp=0xc000656e80 sp=0xc000656d88 pc=0xa4f972

There's no realization of G127 for pure-go, when AVX disabled

Originally created by @im-kulikov on GitHub (Oct 8, 2019). Originally assigned to: @fyrchik on GitHub. ``` github.com/nspcc-dev/tzhash/gf127.Mul(0xc0004860c0, 0xc000486100, 0xc000486140, 0xc000656d00, 0x40ca28, 0x40, 0xe06440, 0x1, 0xc000486140, 0xc0006 /src/vendor/github.com/nspcc-dev/tzhash/gf127/gf127_amd64.s:86 +0x12 fp=0xc000656cb8 sp=0xc000656cb0 pc=0xa4bc92 github.com/nspcc-dev/tzhash/tz.(*sl2).mul(0xc0004860c0, 0xc0004860c0, 0xc000486100, 0xc000486140, 0x0) /src/vendor/github.com/nspcc-dev/tzhash/tz/sl2.go:84 +0x49 fp=0xc000656d10 sp=0xc000656cb8 pc=0xa4e1b9 github.com/nspcc-dev/tzhash/tz.(*sl2).Mul(...) /src/vendor/github.com/nspcc-dev/tzhash/tz/sl2.go:132 github.com/nspcc-dev/tzhash/tz.Concat(0xc0001aa260, 0x1, 0x1, 0xc0001aa260, 0x40c1b6, 0xc000486040, 0x40, 0xd5b3529ebe7294dd) /src/vendor/github.com/nspcc-dev/tzhash/tz/hash.go:97 +0xc1 fp=0xc000656d88 sp=0xc000656d10 pc=0xa4d271 bitbucket.org/nspcc-dev/neofs-node/lib/hash.Concat(0xc000486040, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /src/lib/hash/hash.go:88 +0x242 fp=0xc000656e80 sp=0xc000656d88 pc=0xa4f972 ``` There's no realization of G127 for pure-go, when AVX disabled
sami 2025-12-28 18:13:28 +00:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@im-kulikov commented on GitHub (Oct 8, 2019):

Also, we should check that if AVX2 && AVX { AVX2_method() }, otherwise.. it fails

@im-kulikov commented on GitHub (Oct 8, 2019): Also, we should check that `if AVX2 && AVX { AVX2_method() }`, otherwise.. it fails
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/tzhash#2
No description provided.