summaryrefslogtreecommitdiff
path: root/tests/flush-cache.S
diff options
context:
space:
mode:
Diffstat (limited to 'tests/flush-cache.S')
-rw-r--r--tests/flush-cache.S11
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/flush-cache.S b/tests/flush-cache.S
index d856a232..016113e6 100644
--- a/tests/flush-cache.S
+++ b/tests/flush-cache.S
@@ -46,7 +46,16 @@ flush_cache:
.callinfo
bv %r0(%rp)
.procend
-
+#elif defined(__powerpc64__)
+# warning IMPLEMENT ME!!
+ .globl flush_cache
+flush_cache:
+ lwz 11, 0(1) ;
+ lwz 0, 4(11) ;
+ mtlr 0 ;
+ lwz 31, -4(11) ;
+ mr 1, 11 ;
+ blr
#else
# error Need flush_cache code for this architecture.
#endif