static inline float sin(float angle) { float answer; asm ("fsin" : "=t" (answer) : "0" (angle)); return answer; }
Wednesday, November 9, 2011
Sine function using inline assembly
Friday, May 27, 2011
Saving debug symbols to separate file
objcopy --only-keep-debug "${tostripfile}" "${debugdir}/${debugfile}"
strip --strip-debug --strip-unneeded "${tostripfile}"
objcopy --add-gnu-debuglink="${debugdir}/${debugfile}" "${tostripfile}"
--
source: stackoverflow
Subscribe to:
Posts (Atom)