xref: /third_party/musl/src/unistd/mips64/pipe.s
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/musl/src/unistd/mips64/
1570af302Sopenharmony_ci.set	noreorder
2570af302Sopenharmony_ci.global	pipe
3570af302Sopenharmony_ci.type	pipe,@function
4570af302Sopenharmony_cipipe:
5570af302Sopenharmony_ci	lui	$3, %hi(%neg(%gp_rel(pipe)))
6570af302Sopenharmony_ci	daddiu	$3, $3, %lo(%neg(%gp_rel(pipe)))
7570af302Sopenharmony_ci	daddu	$3, $3, $25
8570af302Sopenharmony_ci	li	$2, 5021
9570af302Sopenharmony_ci	syscall
10570af302Sopenharmony_ci	beq	$7, $0, 1f
11570af302Sopenharmony_ci	nop
12570af302Sopenharmony_ci	ld	$25, %got_disp(__syscall_ret)($3)
13570af302Sopenharmony_ci	jr	$25
14570af302Sopenharmony_ci	dsubu	$4, $0, $2
15570af302Sopenharmony_ci1:	sw	$2, 0($4)
16570af302Sopenharmony_ci	sw	$3, 4($4)
17570af302Sopenharmony_ci	move	$2, $0
18570af302Sopenharmony_ci	jr	$ra
19570af302Sopenharmony_ci	nop
20

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