[go-nuts] Re: cmd: Some questions about adding arm64 SIMD instruction support

2020-08-28 Thread Heisenberg
I forgot to say that this code is in src/cmd/internal/obj/arm64/asm7.go 在2020年8月28日星期五 UTC+8 下午4:45:24 写道: > case AVADD: > return 7<<25 | 1<<21 | 1<<15 | 1<<10 > > case AVAND: > return 7<<25 | 1<<21 | 7<<10 > > case AVAND: > return 7<<25 | 1<<21 | 7<<10 > > case AVCMEQ: > return 1<<29 | 0x71<<21

[go-nuts] cmd: Some questions about adding arm64 SIMD instruction support

2020-08-28 Thread Heisenberg
case AVADD: return 7<<25 | 1<<21 | 1<<15 | 1<<10 case AVAND: return 7<<25 | 1<<21 | 7<<10 case AVAND: return 7<<25 | 1<<21 | 7<<10 case AVCMEQ: return 1<<29 | 0x71<<21 | 0x23<<10 For the AVADD instruction, how is 7,1,1,1 determined? How is 25,21,15,10 determined? What do they mean? Why are th

[go-nuts] What does "ex-wait-release" mean?

2020-08-17 Thread Heisenberg
Some of my CLs are tagged with this, and I don't know why? Can someone please tell me? https://go-review.googlesource.com/c/go/+/244778 -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails f

[go-nuts] Regarding this hash is worth solving, why is the result of shifting right by 5 bits better than the result of shifting right by 12 bits?

2020-08-11 Thread Heisenberg
The modification in this patch, why is the performance after shifting 5 bits to the right better than the performance of shifting 12 bits to the right? Can someone tell me something for me? https://go-review.googlesource.com/c/go/+/245177 -- You received this message because you are subscrib

[go-nuts] Regarding this hash is worth solving, why is the result of shifting right by 5 bits better than the result of shifting right by 12 bits?

2020-08-11 Thread Heisenberg
The modification in this patch, why is the performance after shifting 5 bits to the right better than the performance of shifting 12 bits to the right? Can someone tell me something for me? https://go-review.googlesource.com/c/go/+/245177 -- You received this message because you are subscrib

Re: [go-nuts] compress/bzip2:Why is there only a decompression function, no compression function.

2020-07-27 Thread Heisenberg
I added the issue in golang/issue. I have some time now. I want to work for you, but I don't know how to do it. 在2020年6月11日星期四 UTC+8 下午12:37:30 写道: > > Why has this code called Joe Tsai never been merged? > > I am Joe Tsai and the reason why my bzip2 encoder implementation has not > been merged

[go-nuts] compress/flate

2020-07-17 Thread Heisenberg
Constant definition in token.go: literalType = 0 << 30 The only use I see is: - *func (t token) literal() uint32 { return uint32(t - literalType) }* - *func literalToken(literal uint32) token { return token(literalType + literal) } * I don't know what the purpose of this writing is