search for: ftrap

Displaying 17 results from an estimated 17 matches for "ftrap".

Did you mean: trap
2020 May 27
4
default behavior or
...t;target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" } --------------------- and the setting "no-trapping-math"="false" should mean -ftrapping-math but it does not and it also contradict with documentation. I think clang should emit this "no-trapping-math"="true" by default if it goes with this assumption https://llvm.org/docs/LangRef.html#floatenv ? what is default behavior of clang -fno-trapping-math or -ftrapp...
2007 Dec 10
1
Building R on Sun Solaris 10 (SPARC) using Sun Studio 12
...R_PAPERSIZE=letter > SHLIB_CXXLDFLAGS="-G /opt/SUNWspro/lib/libCrun.so" > CC=/opt/SUNWspro/bin/cc CXX=/opt/SUNWspro/bin/CC > F77=/opt/SUNWspro/bin/f77 F90=/opt/SUNWspro/bin/f95 > FC=/opt/SUNWspro/bin/f95 CFLAGS="-mt -ftrap=%none > -xarch=sparcvis -fPIC -xmemalign=4s" > CXXFLAGS="-mt -ftrap=%none -xarch=sparcvis -xmemalign=4s" > FFLAGS="-mt -ftrap=%none -shared -xarch=sparcvis" > FCFLAGS="-mt -ftrap=%none -shared -xarch=sparcvis" >...
2020 May 27
2
By default clang does not emit trap insn
...6-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" >> "unsafe-fp-math"="false" "use-soft-float"="false" } >> --------------------- >> and the setting "no-trapping-math"="false" should mean -ftrapping-math >> but it does not and it also contradict with documentation. >> >> I think clang should emit this "no-trapping-math"="true" by default if it >> goes with this assumption https://llvm.org/docs/LangRef.html#floatenv ? >> what is default beh...
2007 Dec 07
0
regression tests for unlink and wildcards fail - Solaris 10 SPARC / Sun Studio 12 (PR#10501)
...here are the configure options that I set for all three builds: ./configure --prefix=/usr/local/R --with-blas=sunperf --with-lapack --with-tcl-config=/usr/local/lib/tclConfig.sh --with-tk-config=/usr/local/lib/tkConfig.sh R_PAPERSIZE=letter CC=/opt/SUNWspro/bin/cc CFLAGS="-mt -ftrap=%none -xarch=sparcvis" LDFLAGS="-L/usr/local/lib -R/usr/local/lib" CXX=/opt/SUNWspro/bin/CC CXXFLAGS="-mt -ftrap=%none -xarch=sparcvis" F77=/opt/SUNWspro/bin/f95 F95=/opt/SUNWspro/bin/f95 FFLAGS="-mt -ftrap=%none -xarch=sparcvis" FC=/opt/SUNWspro/bi...
2020 Jan 28
3
Floating point semantic modes
About ftrapping-math: I think we should eliminate ftrapping-math, a boolean option, because it overlaps with ffp-exception-behavior, a 3 valued option. Or we can keep it in the clang driver for compatibility, but it should be rewritten by clang driver into ffp-exception-behavior=ignore and ffp-exception-behav...
2017 Jul 21
3
Where does the LLVM implement the Ubsan's instrumentations?
> I think your best bet for controlling code bloat is to compile with > -fsanitize=undefined -fsanitize-trap=undefined. Also you may not need all of UBSan's checks at the same time -- so pick and choose among its checks using the finer-grained flags. If you're really stuck against a hard limit on code size, try applying UBSan to a subset of files in your project at a time. John
2007 May 01
10
Problem with the installation of "install R" on Sun Solaris
An embedded and charset-unspecified text was scrubbed... Name: config.txt Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070501/bdf55878/attachment.txt
2019 May 29
2
[RFC] Add support for options -fp-model= and -fp-speculation= : specify floating point behavior
...fp-model=[strict|except] is being developed in the D53157 patch, and there is current llvm support for the fast settings by using the fast math flags llvm::FastMathFlags. Note: the clang-cl wrapper to support Microsoft options has simplified support for these options by mapping /fp-model=except to ftrapping-math, fp-mdel=fast to ffast-math, fp-model=precise and fp-model=strict to fno-fast-math (see clang/Driver/CLCompatOptions.td). According to the online options documentation, you can combine except[-] with [precise|strict|fast], but combining both fast and except is not a valid setting (the Dri...
2020 Jan 29
3
Floating point semantic modes
...is is something we should consider adding. > the granularity of these knobs is also interesting (expression, code block, function or translation unit), iso c pragmas work on code block level. I'd have to defer to someone more familiar with the front end to say how that is handled. > -ftrapping-math vs -ffp-exception-behaviour=maytrap is unclear. The "maytrap" setting is supposed to prevent the optimizer from introducing spurious exceptions (e.g. speculative execution) while still allowing it to optimize away potential exceptions (e.g. dce operations whose results are never...
2018 May 23
3
Update on strict FP status
...t. This takes into account both the semantics of the #pragma as defined by the standard, and the implementation-defined default rules that apply to code outside of any #pragma. GCC currently has the following two related command-line options: -frounding-math: Do not assume default rounding mode -ftrapping-math: Assume FP operations may trap clang accepts but (basically) ignores those options. As a first step, it might make sense to have the FENV_ACCESS default behavior triggered by these options, even while the front end does not yet support the actual #pragma. The front end then needs to tra...
2020 Jan 27
11
Floating point semantic modes
Hi all, I'm trying to put together a set of rules for how the various floating point semantic modes should be handled in clang. A lot of this information will be relevant to other front ends, but the details are necessarily bound to a front end implementation so I'm framing the discussion here in terms of clang. Other front ends can choose to follow clang or not. The existence of this set
2004 Oct 20
1
Unable to compile dovecot with Solaris 9 and Forte C
Just a "heads up". I tried to search mailinglist archives and wiki, but found no similar configurations. Dovecot is unbuildable with the following configuration: SunOS mail 5.9 Generic_112233-08 sun4u sparc SUNW,Sun-Fire-V210 cc: Forte Developer 7 C 5.4 2002/03/09 config.log output from ./configure is at: http://iso.ego.fi/misc/dovecot_1.0-test50.log I guess I'll have to bend
2018 May 23
0
Update on strict FP status
...both the semantics of the #pragma as defined by the standard, > and the implementation-defined default rules that apply to code > outside of any #pragma. GCC currently has the following two > related command-line options: > > -frounding-math: Do not assume default rounding mode > -ftrapping-math: Assume FP operations may trap > > clang accepts but (basically) ignores those options. As a first > step, it might make sense to have the FENV_ACCESS default > behavior triggered by these options, even while the front end > does not yet support the actual #pragma. > >...
2018 May 23
2
Update on strict FP status
...f the #pragma as defined by the standard, > and the implementation-defined default rules that apply to code > outside of any #pragma. GCC currently has the following two > related command-line options: > > -frounding-math: Do not assume default rounding mode > -ftrapping-math: Assume FP operations may trap > > clang accepts but (basically) ignores those options. As a first > step, it might make sense to have the FENV_ACCESS default > behavior triggered by these options, even while the front end > does not yet support the actual #p...
2007 Jun 15
0
Solaris 10 x64 Compiling issues with Sun Studio 12
...m64 -xarch=sse2 -fns -fsimple=2 -fsingle -nofstore - xalias_level=bas ic -xbuiltin=%all -xdepend -xlibmil -xlibmopt -xO5 -xregs=frameptr -mt -lpthread " #CFLAGS="-fast -xarch=amd64" #CXXFLAGS="-fast -xarch=amd64" CFLAGS="-xtarget=opteron -xarch=amd64 -mt -fsimple=1 -ftrap=%none - nofstore -xbuiltin=%all -xlibmil -xlibmopt -xregs=no%frameptr -KPIC" # Include Flags CPPFLAGS="-I/opt/yp/include -I/opt/sfw/include -I/usr/sfw/include" # Export VARS export CFLAGS CXXFLAGS CPPFLAGS LDFLAGS ./configure --prefix=/opt/rb --bindir=/opt/yp/bin/64 --sbindir=/op...
2018 May 23
0
Update on strict FP status
...e #pragma as defined by the standard, >> and the implementation-defined default rules that apply to code >> outside of any #pragma. GCC currently has the following two >> related command-line options: >> >> -frounding-math: Do not assume default rounding mode >> -ftrapping-math: Assume FP operations may trap >> >> clang accepts but (basically) ignores those options. As a first >> step, it might make sense to have the FENV_ACCESS default >> behavior triggered by these options, even while the front end >> does not yet support the actua...
2017 Jul 21
2
Where does the LLVM implement the Ubsan's instrumentations?
...;> If you're really stuck against a hard limit on code size, try applying >> UBSan to a subset of files in your project at a time. > > Hi John, > Thank your suggestion. I like the trap-funcion way. With the compile options "-fsanitize=undefined -fsanitize-trap=undefined -ftrap-function=__my_trap_function", my firmware can save +40% code size. It is great! You might try compiling with '-fsanitize=undefined -fno-sanitize-recover=undefined'. You should still see some code size savings with this option. You'll need to link in the ubsan runtime when compilin...