Bumps the minor-and-patch group with 7 updates in the / directory: | Package | From | To | | --- | --- | --- | | [github.com/go-chi/httprate](https://github.com/go-chi/httprate) | `0.16.0` | `0.16.1` | | [github.com/go-ldap/ldap/v3](https://github.com/go-ldap/ldap) | `3.4.14` | `3.4.15` | | [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) | `2.15.0` | `2.15.1` | | [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) | `1.24.1` | `1.25.0` | | [github.com/tidwall/gjson](https://github.com/tidwall/gjson) | `1.19.1` | `1.20.0` | | [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib) | `0.71.0` | `0.72.0` | | [golang.org/x/sync](https://github.com/golang/sync) | `0.23.0` | `0.24.0` | Updates `github.com/go-chi/httprate` from 0.16.0 to 0.16.1 - [Release notes](https://github.com/go-chi/httprate/releases) - [Commits](https://github.com/go-chi/httprate/compare/v0.16.0...v0.16.1) Updates `github.com/go-ldap/ldap/v3` from 3.4.14 to 3.4.15 - [Release notes](https://github.com/go-ldap/ldap/releases) - [Commits](https://github.com/go-ldap/ldap/compare/v3.4.14...v3.4.15) Updates `github.com/nats-io/nats-server/v2` from 2.15.0 to 2.15.1 - [Release notes](https://github.com/nats-io/nats-server/releases) - [Changelog](https://github.com/nats-io/nats-server/blob/main/RELEASES.md) - [Commits](https://github.com/nats-io/nats-server/compare/v2.15.0...v2.15.1) Updates `github.com/prometheus/client_golang` from 1.24.1 to 1.25.0 - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/v1.25.0/CHANGELOG.md) - [Commits](https://github.com/prometheus/client_golang/compare/v1.24.1...v1.25.0) Updates `github.com/tidwall/gjson` from 1.19.1 to 1.20.0 - [Commits](https://github.com/tidwall/gjson/compare/v1.19.1...v1.20.0) Updates `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` from 0.71.0 to 0.72.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md) - [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.71.0...zpages/v0.72.0) Updates `golang.org/x/sync` from 0.23.0 to 0.24.0 - [Commits](https://github.com/golang/sync/compare/v0.23.0...v0.24.0) --- updated-dependencies: - dependency-name: github.com/go-chi/httprate dependency-version: 0.16.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: github.com/go-ldap/ldap/v3 dependency-version: 3.4.15 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: github.com/nats-io/nats-server/v2 dependency-version: 2.15.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: github.com/prometheus/client_golang dependency-version: 1.25.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: github.com/tidwall/gjson dependency-version: 1.20.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp dependency-version: 0.72.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: golang.org/x/sync dependency-version: 0.24.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
145 lines
2.6 KiB
ArmAsm
145 lines
2.6 KiB
ArmAsm
// Code generated by command: go run gen_fse.go -out ../fse_decoder.s -arch amd64,arm64 -pkg=zstd. DO NOT EDIT.
|
|
// EXPERIMENTAL arm64 output lowered from an amd64 avo program.
|
|
|
|
//go:build arm64 && (!appengine && !noasm && gc && !noasm)
|
|
|
|
// func buildDtable_asm(s *fseDecoder, ctx *buildDtableAsmContext) int
|
|
TEXT ·buildDtable_asm(SB), $0-24
|
|
MOVD ctx+8(FP), R1
|
|
MOVD s+0(FP), R6
|
|
|
|
// Load values
|
|
MOVBU 4098(R6), R2
|
|
MOVD $0, R0
|
|
MOVD $1, R16
|
|
LSL R2, R16, R16
|
|
ORR R16, R0, R0
|
|
MOVD (R1), R3
|
|
MOVD 16(R1), R5
|
|
SUB $1, R0, R7
|
|
MOVD 8(R1), R1
|
|
MOVHU 4096(R6), R6
|
|
|
|
// End load values
|
|
// Init, lay down lowprob symbols
|
|
MOVD $0, R8
|
|
JMP init_main_loop_condition
|
|
|
|
init_main_loop:
|
|
MOVH (R1)(R8<<1), R9
|
|
MOVD $-1, R16
|
|
AND $0xffff, R16, R16
|
|
AND $0xffff, R9, R15
|
|
CMP R16, R15
|
|
BNE do_not_update_high_threshold
|
|
ADD R7<<3, R5, R15
|
|
MOVB R8, 1(R15)
|
|
SUB $1, R7, R7
|
|
MOVD $0x0000000000000001, R9
|
|
|
|
do_not_update_high_threshold:
|
|
MOVH R9, (R3)(R8<<1)
|
|
ADD $1, R8, R8
|
|
|
|
init_main_loop_condition:
|
|
CMP R6, R8
|
|
BLT init_main_loop
|
|
|
|
// Spread symbols
|
|
// Calculate table step
|
|
LSR $0x01, R0, R8
|
|
LSR $0x03, R0, R9
|
|
ADD R9, R8, R8
|
|
ADD $3, R8, R8
|
|
|
|
// Fill add bits values
|
|
SUB $1, R0, R9
|
|
MOVD $0, R10
|
|
MOVD $0, R11
|
|
JMP spread_main_loop_condition
|
|
|
|
spread_main_loop:
|
|
MOVD $0, R12
|
|
MOVH (R1)(R11<<1), R13
|
|
JMP spread_inner_loop_condition
|
|
|
|
spread_inner_loop:
|
|
ADD R10<<3, R5, R15
|
|
MOVB R11, 1(R15)
|
|
|
|
adjust_position:
|
|
ADD R8, R10, R10
|
|
AND R9, R10, R10
|
|
CMP R7, R10
|
|
BGT adjust_position
|
|
ADD $1, R12, R12
|
|
|
|
spread_inner_loop_condition:
|
|
CMP R13, R12
|
|
BLT spread_inner_loop
|
|
ADD $1, R11, R11
|
|
|
|
spread_main_loop_condition:
|
|
CMP R6, R11
|
|
BLT spread_main_loop
|
|
TST R10, R10
|
|
BEQ spread_check_ok
|
|
MOVD ctx+8(FP), R0
|
|
MOVD R10, 24(R0)
|
|
MOVD $+1, R16
|
|
MOVD R16, ret+16(FP)
|
|
RET
|
|
|
|
spread_check_ok:
|
|
// Build Decoding table
|
|
MOVD $0, R6
|
|
|
|
build_table_main_table:
|
|
ADD R6<<3, R5, R15
|
|
MOVBU 1(R15), R1
|
|
MOVHU (R3)(R1<<1), R7
|
|
ADD $1, R7, R8
|
|
MOVH R8, (R3)(R1<<1)
|
|
MOVD R7, R8
|
|
CLZ R8, R16
|
|
MOVD $63, R8
|
|
SUB R16, R8, R8
|
|
MOVD R2, R1
|
|
SUB R8, R1, R1
|
|
LSL R1, R7, R7
|
|
SUB R0, R7, R7
|
|
ADD R6<<3, R5, R15
|
|
MOVB R1, (R15)
|
|
ADD R6<<3, R5, R15
|
|
MOVH R7, 2(R15)
|
|
CMP R0, R7
|
|
BLE build_table_check1_ok
|
|
MOVD ctx+8(FP), R1
|
|
MOVD R7, 24(R1)
|
|
MOVD R0, 32(R1)
|
|
MOVD $+2, R16
|
|
MOVD R16, ret+16(FP)
|
|
RET
|
|
|
|
build_table_check1_ok:
|
|
TST $0xff, R1
|
|
BNE build_table_check2_ok
|
|
AND $0xffff, R6, R16
|
|
AND $0xffff, R7, R15
|
|
CMP R16, R15
|
|
BNE build_table_check2_ok
|
|
MOVD ctx+8(FP), R0
|
|
MOVD R7, 24(R0)
|
|
MOVD R6, 32(R0)
|
|
MOVD $+3, R16
|
|
MOVD R16, ret+16(FP)
|
|
RET
|
|
|
|
build_table_check2_ok:
|
|
ADD $1, R6, R6
|
|
CMP R0, R6
|
|
BLT build_table_main_table
|
|
MOVD $+0, R16
|
|
MOVD R16, ret+16(FP)
|
|
RET
|