mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-01-31 05:06:47 +01:00
4d423102c1
Bumps [github.com/gin-contrib/gzip](https://github.com/gin-contrib/gzip) from 1.0.1 to 1.1.0. - [Release notes](https://github.com/gin-contrib/gzip/releases) - [Changelog](https://github.com/gin-contrib/gzip/blob/master/.goreleaser.yaml) - [Commits](https://github.com/gin-contrib/gzip/compare/v1.0.1...v1.1.0) --- updated-dependencies: - dependency-name: github.com/gin-contrib/gzip dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
36 lines
1.1 KiB
ArmAsm
36 lines
1.1 KiB
ArmAsm
// Copyright (c) 2015 Klaus Post, released under MIT License. See LICENSE file.
|
|
|
|
//+build arm64,!gccgo,!noasm,!appengine
|
|
|
|
// See https://www.kernel.org/doc/Documentation/arm64/cpu-feature-registers.txt
|
|
|
|
// func getMidr
|
|
TEXT ·getMidr(SB), 7, $0
|
|
WORD $0xd5380000 // mrs x0, midr_el1 /* Main ID Register */
|
|
MOVD R0, midr+0(FP)
|
|
RET
|
|
|
|
// func getProcFeatures
|
|
TEXT ·getProcFeatures(SB), 7, $0
|
|
WORD $0xd5380400 // mrs x0, id_aa64pfr0_el1 /* Processor Feature Register 0 */
|
|
MOVD R0, procFeatures+0(FP)
|
|
RET
|
|
|
|
// func getInstAttributes
|
|
TEXT ·getInstAttributes(SB), 7, $0
|
|
WORD $0xd5380600 // mrs x0, id_aa64isar0_el1 /* Instruction Set Attribute Register 0 */
|
|
WORD $0xd5380621 // mrs x1, id_aa64isar1_el1 /* Instruction Set Attribute Register 1 */
|
|
MOVD R0, instAttrReg0+0(FP)
|
|
MOVD R1, instAttrReg1+8(FP)
|
|
RET
|
|
|
|
TEXT ·getVectorLength(SB), 7, $0
|
|
WORD $0xd2800002 // mov x2, #0
|
|
WORD $0x04225022 // addvl x2, x2, #1
|
|
WORD $0xd37df042 // lsl x2, x2, #3
|
|
WORD $0xd2800003 // mov x3, #0
|
|
WORD $0x04635023 // addpl x3, x3, #1
|
|
WORD $0xd37df063 // lsl x3, x3, #3
|
|
MOVD R2, vl+0(FP)
|
|
MOVD R3, pl+8(FP)
|
|
RET
|