Displaying 7 results from an estimated 7 matches for "fpv4".
Did you mean:
fp64
2015 Jul 15
2
[LLVMdev] [Clang] Reasons for lack of -fsingle-precision-constant support? Alternatives?
...directly to
NumericLiteralParser::NumericLiteralParser within LiteralSupport.cpp. I
understand the maintenance concern with flags that affect multiple points
in code though.
Still trying to get the bottom of why we're crashing with double floating
point literal. It seems the fpu in question (fpv4-sp-d16) only supports 32
bit operations so this is somehow getting passed to a software wrapper and
crashing there. But to be fair this was crashing in gcc too which is why
we added the -fsingle-precision-constant flag since we didn't care about
the precision of the constants and we're usi...
2019 Feb 17
2
Custom mode
...frame_size = opus_custom_decode(
dec, codedMicBuf, 64, decodedMicBuf, 64);
*Build:*
C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM
3.50\gcc\arm-none-eabi\bin\cc1" -fmessage-length=0
-fno-diagnostics-show-caret -mcpu=cortex-m4 -mlittle-endian
-mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -mtp=soft -nostdinc "-isystem
-D__SIZEOF_WCHAR_T=4 -D__ARM_ARCH_7EM__ -D__SES_ARM
-D__ARM_ARCH_FPV4_SP_D16__ -D__SES_VERSION=35000 -DARM_MATH_CM4
-D__FPU_PRESENT -DDEBUG "-D DEBUG_NRF" -DCONFIG_GPIO_AS_PINRESET
-DINITIALIZE_USER_SECTIONS -DNO_VTOR_CONFIG -DNRF52 -DN...
2019 Nov 13
2
Compiling libc++ using GNU Arm Embedded Toolchain for arm-cortex-m4
...I failed.
This is how I build libc++:
TOOLCHAIN_ROOT_DIR="${HOME}/ARMToolchain-9-2019-q4-major"
export CC="${TOOLCHAIN_ROOT_DIR}/bin/arm-none-eabi-gcc"
export CXX="${TOOLCHAIN_ROOT_DIR}/bin/arm-none-eabi-g++"
C_AND_CXX_COMMON_FLAGS_BASE="-mcpu=cortex-m4 -mfpu=fpv4-sp-d16
-mfloat-abi=hard --specs=nosys.specs\
--sysroot=${TOOLCHAIN_ROOT_DIR}
-I${TOOLCHAIN_ROOT_DIR}/arm-none-eabi/include\
-L${TOOLCHAIN_ROOT_DIR}/lib
-L${TOOLCHAIN_ROOT_DIR}/lib/gcc/arm-none-eabi/9.2.1"
C_AND_CXX_COMMON_FLAGS_MORE="-mthumb -mabi=aapcs"
C_AND_CXX_COMMON_FLAG...
2017 Oct 19
0
Global stack on Cortex-M4
Hi all:
I'm successfully run OPUS in cortexM4 arm architectures using a cross
compiler gcc-arm-none-eabi . I recommend to uses the following precompile
flags before to compile you code:
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard
-mfpu=fpv4-sp-dl16 -std=c99 -fasm -DARM_MATH_CM4 -DOPUS_ARM_INLINE_ASM
-DOPUS_ARM_ASM ....
and in your configuration file of OPUS you could use the following
configuration :
#define VAR_ARRAYS
#define FIXED_POINT /*Actually I'm working in a fixed point but I also test
it with float point and also works...
2017 Oct 31
3
Cross compiling for Baremetal ARM without using GCC
...wing this - http://llvm.org/docs/HowToCrossCompileLLVM.html but I got this error,
TARGET_TRIPLE=arm-none-eabi
MYHOSTBIN=${HOME}/clang/source/build_x64/bin
MYGNUARM_ROOT=${HOME}/opt/gcc-arm-none-eabi-6-2017-q2-update
MYCFLAGS="--specs=nosys.specs -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16"
cmake -G "Ninja" \
-DCMAKE_CROSSCOMPILING=True \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=${HOME}/clang/toInstall \
-DLLVM_TABLEGEN=${MYHOSTBIN}/llvm-tblgen \
-DCLANG_TABLEGEN=${MYHOSTBIN}/c...
2019 Feb 20
0
Fwd: Custom mode
...t;>
>>
>>
>> *Build:*
>>
>>
>>
>> C:\Program Files\SEGGER\SEGGER Embedded Studio for ARM
>> 3.50\gcc\arm-none-eabi\bin\cc1" -fmessage-length=0
>> -fno-diagnostics-show-caret -mcpu=cortex-m4 -mlittle-endian
>> -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -mtp=soft -nostdinc "-isystem
>>
>>
>>
>> -D__SIZEOF_WCHAR_T=4 -D__ARM_ARCH_7EM__ -D__SES_ARM
>> -D__ARM_ARCH_FPV4_SP_D16__ -D__SES_VERSION=35000 -DARM_MATH_CM4
>> -D__FPU_PRESENT -DDEBUG "-D DEBUG_NRF" -DCONFIG_GPIO_AS_PINRESET
>...
2015 Jul 15
4
[LLVMdev] [Clang] Reasons for lack of -fsingle-precision-constant support? Alternatives?
Hi All,
Clang lacks support for the -fsingle-precision-constant flag. Are there
specific reasons for this or is it just waiting to be implemented?
This flag is especially important in the embedded world. From
http://processors.wiki.ti.com/index.php/Floating_Point_Optimization#float_vs._double_vs._long_double
:
*Once all of your data is defined as float, there are still cases where you
may