Skip to content

Instantly share code, notes, and snippets.

@syoyo
syoyo / gist:9484d27be95e3303789b
Created June 8, 2015 14:15
expapprox() compiled for Parallella Epiphany
// code From http://gallium.inria.fr/blog/fast-vectorizable-math-approx/
$ e-gcc compile options: -O3 -mno-soft-cmpsf -mcmove -mfp-mode=truncate
// 73 clocks
00000f40 <_expapprox>:
f40: 200b 0002 mov r1,0x0
f44: 476b 0aa2 mov r2,0xaa3b
f48: 470b 14b2 movt r2,0x4b38
f4c: 2fcb 14e2 movt r1,0x4e7e
# This gist is compatible with Ansible 1.x .
# For Ansible 2.x , please check out:
# - https://gist.github.com/dmsimard/cd706de198c85a8255f6
# - https://github.com/n0ts/ansible-human_log
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#