[PATCH] [MIPS64] Make __clear_cache more optimal

Petar Jovanovic petarj at mips.com
Wed Jan 14 13:09:45 PST 2015


================
Comment at: lib/builtins/clear_cache.c:59
@@ +58,3 @@
+        "30:\n"
+        "daddiu $ra, $ra, 12\n"
+        "jr.hb $ra\n"                        /* Return, clearing instruction
----------------
joerg wrote:
> I take it the 12 is the offset of the instruction just after the nop? If yes, please comment.
Done.

http://reviews.llvm.org/D6661

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list