Skip to content

Conversation

@jhurwich
Copy link

  • Remove bitlen_amd64.s and replace with pure-Go bitlen_amd64.go using bits.Len64
  • Change bitlen signature to accept uint64 instead of Word
  • Update bitlen_decl.go to only build on 386 and ARM, excluding amd64
  • Add //go:build constraint alongside legacy +build tags for Go 1.17+ compatibility

Resolves

  • ./bitlen_amd64.s:13: undefined label z1
  • asm: github.com/dataence/encoding.bitlen: invalid instruction: 00006 (/home/ubuntu/gocode/src/github.com/Agalmic/Conzume/vendor/github.com/dataence/encoding/bitlen_amd64.s:6) JEQ Z1

*previous, now closed Pull Request removed incorrect file

- Remove bitlen_amd64.s and replace with pure-Go bitlen_amd64.go using bits.Len64
- Change bitlen signature to accept uint64 instead of Word
- Update bitlen_decl.go to only build on 386 and ARM, excluding amd64
- Add //go:build constraint alongside legacy +build tags for Go 1.17+ compatibility
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

Successfully merging this pull request may close these issues.

1 participant