diff options
author | Andres Erbsen <andreser@google.com> | 2017-11-10 14:13:09 -0500 |
---|---|---|
committer | Andres Erbsen <andreser@google.com> | 2017-11-10 14:13:23 -0500 |
commit | d5ac8bc07824d9cf6c7b4698bf38bde85cc84704 (patch) | |
tree | 8de6d9cef799156a994a63509ebe5a71819fb0bc /measurements/2018-11-10-android/first.txt | |
parent | b889139e6b0cf275f2f36154021de30c9f31e52d (diff) |
first benchmark on 32-bit Android
Diffstat (limited to 'measurements/2018-11-10-android/first.txt')
-rw-r--r-- | measurements/2018-11-10-android/first.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/measurements/2018-11-10-android/first.txt b/measurements/2018-11-10-android/first.txt new file mode 100644 index 000000000..5c737828f --- /dev/null +++ b/measurements/2018-11-10-android/first.txt @@ -0,0 +1,13 @@ +andreser@andreser:~/fiat-crypto$ arm-linux-androideabi-gcc -pie -I ~/android-toolchain/gmp-6.1.2/ -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -fno-strict-aliasing -Da24_hex='0x3039' -Da24_val='12345' -Da_minus_two_over_four_array='{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x39}' -Dbitwidth='32' -Dlimb_weight_gaps_array='{26,25,26,25,26,25,26,25,26,25}' -Dmodulus_array='{0x7f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xed}' -Dmodulus_bytes_val='32' -Dmodulus_limbs='10' -Dq_mpz='(1_mpz<<255) - 19' src/Specific/Framework/bench/gmpsec.c android-toolchain/gmp-6.1.2/.libs/libgmp.a -o /tmp/main && adb push /tmp/main /data/local/tmp/main && adb shell "time /data/local/tmp/main" +arm-linux-androideabi-gcc: error: android-toolchain/gmp-6.1.2/.libs/libgmp.a: No such file or directory +andreser@andreser:~/fiat-crypto$ arm-linux-androideabi-gcc -pie -I ~/android-toolchain/gmp-6.1.2/ -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -fno-strict-aliasing -Da24_hex='0x3039' -Da24_val='12345' -Da_minus_two_over_four_array='{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x39}' -Dbitwidth='32' -Dlimb_weight_gaps_array='{26,25,26,25,26,25,26,25,26,25}' -Dmodulus_array='{0x7f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xed}' -Dmodulus_bytes_val='32' -Dmodulus_limbs='10' -Dq_mpz='(1_mpz<<255) - 19' src/Specific/Framework/bench/gmpsec.c ~/android-toolchain/gmp-6.1.2/.libs/libgmp.a -o /tmp/main && adb push /tmp/main /data/local/tmp/main && adb shell "time /data/local/tmp/main" +[100%] /data/local/tmp/main +WARNING: linker: /data/local/tmp/main: unused DT entry: type 0x6ffffffe arg 0x42c +WARNING: linker: /data/local/tmp/main: unused DT entry: type 0x6fffffff arg 0x1 +WARNING: linker: /data/local/tmp/main has text relocations. This is wasting memory and prevents security hardening. Please fix. + 0m5.25s real 0m5.22s user 0m0.01s system +andreser@andreser:~/fiat-crypto$ arm-linux-androideabi-gcc -pie -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -fno-strict-aliasing -Dbitwidth=32 src/Specific/Framework/bench/fibe.c -I src/Specific/solinas32_2e255m19/ -o /tmp/main && adb push /tmp/main /data/local/tmp/main && adb shell "time /data/local/tmp/main" +[100%] /data/local/tmp/main +WARNING: linker: /data/local/tmp/main: unused DT entry: type 0x6ffffffe arg 0x228 +WARNING: linker: /data/local/tmp/main: unused DT entry: type 0x6fffffff arg 0x1 + 0m0.97s real 0m0.93s user 0m0.01s system |