xref: /third_party/musl/src/thread/s390x/__tls_get_offset.s
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/musl/src/thread/s390x/
1570af302Sopenharmony_ci	.global __tls_get_offset
2570af302Sopenharmony_ci	.type __tls_get_offset,%function
3570af302Sopenharmony_ci__tls_get_offset:
4570af302Sopenharmony_ci	stmg  %r14, %r15, 112(%r15)
5570af302Sopenharmony_ci	aghi  %r15, -160
6570af302Sopenharmony_ci
7570af302Sopenharmony_ci	la    %r2, 0(%r2, %r12)
8570af302Sopenharmony_ci	brasl %r14, __tls_get_addr
9570af302Sopenharmony_ci
10570af302Sopenharmony_ci	ear   %r1, %a0
11570af302Sopenharmony_ci	sllg  %r1, %r1, 32
12570af302Sopenharmony_ci	ear   %r1, %a1
13570af302Sopenharmony_ci
14570af302Sopenharmony_ci	sgr   %r2, %r1
15570af302Sopenharmony_ci
16570af302Sopenharmony_ci	lmg   %r14, %r15, 272(%r15)
17570af302Sopenharmony_ci	br    %r14
18

Indexes created Thu Nov 07 10:32:03 CST 2024