Skip to content

Commit

Permalink
HevTask: Fix task execute for ppc.
Browse files Browse the repository at this point in the history
  • Loading branch information
heiher committed Jun 4, 2024
1 parent 593763c commit c16a024
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/arch/ppc/hev-task-execute-ppc32.s
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
hev_task_execute:
lwz 5, 0(3)
mflr 0
stw 1, -0x0c(5)
stw 0, -0x10(5)
stw 1, -0x04(5)
stw 0, -0x08(5)
addi 1, 5, -0x10

mtctr 4
bctrl

lwz 0, 0x00(1)
lwz 0, 0x08(1)
lwz 1, 0x0c(1)
mtlr 0
blr
Expand Down
6 changes: 3 additions & 3 deletions src/arch/ppc/hev-task-execute-ppc64.s
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ hev_task_execute:
mflr 0
std 1, -0x08(5)
std 0, -0x10(5)
addi 1, 5, -0x10
addi 1, 5, -0x40

mtctr 4
bctrl

ld 0, 0x00(1)
ld 1, 0x08(1)
ld 0, 0x30(1)
ld 1, 0x38(1)
mtlr 0
blr

Expand Down

0 comments on commit c16a024

Please sign in to comment.