From 74708dd4a81c3073e32c27500c8afd968bd9ffc6 Mon Sep 17 00:00:00 2001 From: clamchowder Date: Wed, 17 Jan 2024 22:59:57 -0800 Subject: [PATCH] ppc64 mt instructiornate --- mt_instructionrate/Makefile | 2 + mt_instructionrate/arm_mt_instructionrate | Bin 18760 -> 0 bytes mt_instructionrate/mt_instructionrate.c | 6 +- mt_instructionrate/ppc64_mt_instructionrate.c | 40 ++++ mt_instructionrate/ppc64_mt_instructionrate.s | 224 ++++++++++++++++++ mt_instructionrate/x86_mt_instructionrate | Bin 18136 -> 0 bytes 6 files changed, 271 insertions(+), 1 deletion(-) delete mode 100755 mt_instructionrate/arm_mt_instructionrate create mode 100644 mt_instructionrate/ppc64_mt_instructionrate.c create mode 100644 mt_instructionrate/ppc64_mt_instructionrate.s delete mode 100755 mt_instructionrate/x86_mt_instructionrate diff --git a/mt_instructionrate/Makefile b/mt_instructionrate/Makefile index bea3a91..ace9860 100644 --- a/mt_instructionrate/Makefile +++ b/mt_instructionrate/Makefile @@ -2,3 +2,5 @@ x86: gcc -pthread -masm=intel x86_mt_instructionrate.s mt_instructionrate.c ../Common/timing.c -o x86_mt_instructionrate aarch64: gcc -pthread mt_instructionrate.c arm_mt_instructionrate.s ../Common/timing.c -o arm_mt_instructionrate +ppc64: + gcc -pthread -mregnames mt_instructionrate.c ppc64_mt_instructionrate.s ../Common/timing.c -o ppc64_mt_instructionrate diff --git a/mt_instructionrate/arm_mt_instructionrate b/mt_instructionrate/arm_mt_instructionrate deleted file mode 100755 index c9470aca28d37e2ef18febfb4e8627a499e07d50..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 18760 zcmeHP4{(&nb$@p!8zmqRMlmF$(kH;RV;doXu(2WLBrpOS1QBxL{5_rSPDtjY6L%*Y zf@7bV45f7@L4_v7DXQXWYKKWOG$k=gtWEQ|JZE{lejMtk}Ob}tPEnZEA9Q-8Vklqw_ASs(LoVE!5E zP2-#<`5E{v5g*N@j&~Na`siAs`h1N`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