search for: test_unopt

Displaying 1 result from an estimated 1 matches for "test_unopt".

Did you mean: test_opt
2012 Aug 06
4
[LLVMdev] Casting from float to unsigned char - incorrect output?
....s function in PISA MIPS is rounding towards zero, so it should meet the specification for trunc.w.s in MIPS IV. Here are the commands I used to compile test.c (with the trunc function in it): clang -emit-llvm -mfloat-abi=hard -ccc-host-triple mipsel-unknown-linux -ccc-clang-archs mipsel -O3 -S -o test_unopt.ll test.c opt -std-compile-opts test_unopt.ll -o test.ll llc -march=mipsel -mcpu=mips32 -float-abi=hard -relocation-model=static test.ll -o test.s Here is the llvm intermediate representation: ; ModuleID = 'test_unopt.ll' target datalayout = "e-p:32:32:32-i1:8:8-i8:8:32-i16:16:32-i32:...