Skip to content

Commit

Permalink
Fix possible load delay hazard on R3000.
Browse files Browse the repository at this point in the history
(probably no one has set breakpoint on R3000?)
  • Loading branch information
tsutsui committed Mar 16, 2011
1 parent 394df81 commit a75c782
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sys/arch/mips/mips/copy.S
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $NetBSD: copy.S,v 1.10 2010/07/07 01:21:47 chs Exp $ */
/* $NetBSD: copy.S,v 1.11 2011/03/16 14:54:31 tsutsui Exp $ */

/*
* Copyright (c) 1992, 1993
Expand Down Expand Up @@ -482,8 +482,8 @@ LEAF(ustore_uint32_isync)
PTR_S v0, PCB_ONFAULT(v1)
INT_S a1, 0(a0) # store word
PTR_S zero, PCB_ONFAULT(v1)
move v0, zero
PTR_L v1, _C_LABEL(mips_cache_ops) + MIPSX_FLUSHICACHE
move v0, zero
j v1 # NOTE: must not clobber v0!
li a1, 4 # size of word
END(ustore_uint32_isync)
Expand Down

0 comments on commit a75c782

Please sign in to comment.