OSDN Git Service

libm_sh: add optimised assembly implementation of lroundf and lrintf
authorChristian Bruel <christian.bruel@st.com>
Fri, 17 Dec 2010 08:58:25 +0000 (09:58 +0100)
committerCarmelo Amoroso <carmelo.amoroso@st.com>
Fri, 17 Dec 2010 09:02:44 +0000 (10:02 +0100)
commit6ac247452e646c2187f2f559143c8c087b0542e0
treee514d6f6aead35f8b6f3a2385443b822c260378b
parentc61707353e16b8e22cab1a150cc3a6bf9b178e1c
libm_sh: add optimised assembly implementation of lroundf and lrintf

* libc/sysdeps/linux/sh/sysdep.h: Add LOCAL macro
* libm/sh/sh4/Makefile.arch: Include asm source in the build
* libm/sh/sh4/s_lrintf.S [NEW]: optimised asm lrintf
* libm/sh/sh4/s_lroundf.S [NEW]: optimised asm lroundf

Signed-off-by: Christian Bruel <christian.bruel@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
libc/sysdeps/linux/sh/sysdep.h
libm/sh/sh4/Makefile.arch
libm/sh/sh4/s_lrintf.S [new file with mode: 0644]
libm/sh/sh4/s_lroundf.S [new file with mode: 0644]