PAL code size summary

Latest commit: 0bb896f733c040468049c649b9ad02a310b6403d

 x86_64ARMEpiphany
Platform
-O2 -ffast-math -O2 -ffast-math -O2 -ffast-math -mfp-mode=round-nearest -ffp-contract=fast
CFLAGS
File SizeBench SizeBench SizeBench  
base/boilerplate.c 245 146 340
base/p_append.c 32 24 44
base/p_atomic_add.c 68 264 152
base/p_atomic_and.c 186 280 152
base/p_atomic_compswap.c 122 328 308
base/p_atomic_or.c 186 280 152
base/p_atomic_sub.c 80 264 152
base/p_atomic_swap.c 52 172 152
base/p_atomic_xor.c 186 280 152
base/p_barrier.c 31 22 46
base/p_close.c 40 34 76
base/p_fence.c 4 6 4
base/p_finalize.c 51 44 86
base/p_free.c 31 22 46
base/p_gather.c 3 4 6
base/p_get_err.c 16 10 20
base/p_getaddr.c 3 4 6
base/p_getsymbol.c 3 4 6
base/p_init.c 72 42 54
base/p_load.c 137 80 204
base/p_malloc.c 38 26 56
base/p_memcpy.c 3 4 6
base/p_mutex_init.c 9 10 10
base/p_mutex_lock.c 29 36 56
base/p_mutex_trylock.c 18 34 46
base/p_mutex_unlock.c 9 14 10
base/p_open.c 168 90 196
base/p_query.c 30 18 32
base/p_read.c 39 34 70
base/p_remove.c 3 4 6
base/p_rmalloc.c 37 26 50
base/p_run.c 108 92 178
base/p_wait.c 55 42 98
base/p_write.c 45 36 80
dsp/p_acorr.c 94 72 88
dsp/p_conv.c 137 98 116
dsp/p_fir.c 909 584 700
dsp/p_firdec.c 261 196 302
dsp/p_firint.c 2 2 4
dsp/p_firsym.c 1221 812 898
dsp/p_iir.c 1543 772 756
dsp/p_xcorr.c 378 286 356
fft/p_cfft.c 2 2 4
image/p_box3x3.c 182 1.94 ns 180 65.25 ns 174 22.62 ns
image/p_conv2d.c 303 224 302
image/p_gauss3x3.c 1425 247.09 ns 864 547.88 ns 588 11.75 ns
image/p_grayscale.c 118 100 152
image/p_harris3x3.c 797 704 804
image/p_laplace3x3.c 187 1.16 ns 174 39.38 ns 260 19.85 ns
image/p_median3x3.c 805 15.79 ns 716 221.63 ns 800 10239.49 ns
image/p_prewitt3x3.c 2744 211.74 ns 1378 560.25 ns 1070 26.47 ns
image/p_sad16x16.c 191 148 150
image/p_sad8x8.c 204 168 150
image/p_scharr3x3.c 3256 284.76 ns 1538 816.76 ns 1094 25.76 ns
image/p_sobel3x3.c 3256 293.50 ns 1530 833.63 ns 1094 25.76 ns
math/p_a_inv.c 194 134 268
math/p_abs.c 38 0.58 ns 26 7.87 ns 40 16.95 ns
math/p_absdiff.c 52 0.87 ns 42 16.87 ns 54 28.62 ns
math/p_acos.c 546 8.34 ns 364 127.13 ns 384 175.40 ns
math/p_acosh.c 71 5.05 ns 34 100.12 ns 78 958.26 ns
math/p_add.c 41 0.58 ns 30 14.63 ns 42 25.28 ns
math/p_asin.c 546 7.87 ns 356 120.37 ns 376 165.40 ns
math/p_asinh.c 71 9.79 ns 34 166.50 ns 78 48.34 ns
math/p_atan.c 114 2.58 ns 112 74.25 ns 120 76.97 ns
math/p_atan2.c 75 16.43 ns 38 244.13 ns 96 269466.38 ns
math/p_atanh.c 71 4.74 ns 34 45.00 ns 78 144794.55 ns
math/p_cbrt.c 71 23.98 ns 34 237.38 ns 78 449827.59 ns
math/p_cos.c 215 4.55 ns 156 91.12 ns 160 75.32 ns
math/p_cosh.c 386 8.05 ns 272 165.38 ns 400 380.51 ns
math/p_div.c 41 3.95 ns 30 27.00 ns 72 98.63 ns
math/p_dot.c 43 0.87 ns 44 11.25 ns 50 16.96 ns
math/p_exp.c 363 5.81 ns 264 128.25 ns 382 297.06 ns
math/p_ftoi.c 61 1.21 ns 58 23.63 ns 120 101.97 ns
math/p_inv.c 116 3.07 ns 92 72.00 ns 86 66.96 ns
math/p_invcbrt.c 179 32.70 ns 106 300.38 ns 126 449803.75 ns
math/p_invsqrt.c 144 4.39 ns 116 94.50 ns 114 95.29 ns
math/p_itof.c 40 0.58 ns 32 14.63 ns 30 23.61 ns
math/p_ln.c 163 3.75 ns 136 66.37 ns 252 274635.91 ns
math/p_log10.c 77 4.33 ns 48 81.00 ns 76 274774.50 ns
math/p_mac.c 46 0.87 ns 34 22.50 ns 46 26.95 ns
math/p_max.c 120 4.92 ns 72 28.12 ns 164 75.32 ns
math/p_mean.c 62 0.86 ns 52 9.00 ns 80 13.79 ns
math/p_median.c 315 28.67 ns 260 421.88 ns 376 2328.45 ns
math/p_min.c 63 0.60 ns 60 13.50 ns 94 98.45 ns
math/p_mode.c 176 61.84 ns 116 616.51 ns 194
math/p_mul.c 41 0.58 ns 30 15.75 ns 42 25.28 ns
math/p_popcount.c 202 2.14 ns 2.15 ns 214 23.62 ns 55.12 ns 480 41.96 ns 17814.88 ns
math/p_pow.c 8395 6.51 ns 8416 141.75 ns 8578
math/p_rand.c 141 4.98 ns 100 58.50 ns 226 116.95 ns
math/p_sin.c 222 5.15 ns 164 100.12 ns 166 83.65 ns
math/p_sincos.c 36 9.71 ns 28 192.37 ns 70 158.81 ns
math/p_sinh.c 386 8.06 ns 272 165.38 ns 400 380.51 ns
math/p_sort.c 600 60.97 ns 378 605.25 ns 542 1022.03 ns
math/p_sqrt.c 152 5.00 ns 120 99.00 ns 120 95.29 ns
math/p_stddev.c 230 180 210
math/p_sub.c 41 0.58 ns 30 14.62 ns 42 25.28 ns
math/p_sum.c 50 0.86 ns 40 9.00 ns 40 13.62 ns
math/p_sumsq.c 58 0.86 ns 40 9.00 ns 44 13.62 ns
math/p_tan.c 843 5.44 ns 492 133.88 ns 726 273.95 ns
math/p_tanh.c 378 8.17 ns 272 166.50 ns 404 383.84 ns
math/tinymt/tinymt32.c 1016 844 1242