search for: onlinedoc

Displaying 20 results from an estimated 287 matches for "onlinedoc".

Did you mean: onlinedocs
2012 Apr 28
0
[LLVMdev] Odd PPC inline asm constraint
...as just plain 'i'. */ [sinp] > ("mtfsb0 %s0" : : "i#*X"(__builtin_ffs (__excepts))); [snip] > Does anyone know what that "weird" asm constraint actually means? The "i" and "X" constraints are documented here: http://gcc.gnu.org/onlinedocs/gcc-4.7.0/gcc/Simple-Constraints.html `i' An immediate integer operand (one with constant value) is allowed. This includes symbolic constants whose values will be known only at assembly time or later. `X' Any operand whatsoever is allowed. The # and * constraint modifie...
2012 Apr 27
3
[LLVMdev] Odd PPC inline asm constraint
Hello, I am not sure whether this is a clang issue, an LLVM issue, or both; but clang chokes when parsing expanded macros from the glibc /usr/include/bits/fenvinline.h with an error like: ./boost/math/tools/config.hpp:279:10: error: invalid input constraint 'i#*X' in asm feclearexcept(FE_ALL_EXCEPT); ^ /usr/include/bits/fenvinline.h:56:11: note: expanded from macro
2012 May 10
1
[LLVMdev] Odd PPC inline asm constraint
...t; > ("mtfsb0 %s0" : : "i#*X"(__builtin_ffs (__excepts))); > [snip] > > Does anyone know what that "weird" asm constraint actually means? > > > The "i" and "X" constraints are documented here: > > http://gcc.gnu.org/onlinedocs/gcc-4.7.0/gcc/Simple-Constraints.html > > `i' > An immediate integer operand (one with constant value) is allowed. > This includes symbolic constants whose values will be known only > at assembly time or later. > > `X' > Any operand whatsoever is a...
2009 Dec 29
0
[LLVMdev] Question to use inline assemble in X86
...tells the compiler what registers are valid to use. "r" means that it can use any register. You need to tell the compiler what registers need to be used, because it doesn't look inside the asm string. Please take a look at the GCC documentation for more details: http://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html#Extended-Asm http://gcc.gnu.org/onlinedocs/gcc/Constraints.html#Constraints -Chris
2009 Dec 29
2
[LLVMdev] Question to use inline assemble in X86
Hi everyone, I try to add an instruction to x86. The instruction is a multiply-add instruction MULADD A, B, C; //A = A + B * C. I use the instruction by inline assemble as below int x, y, z; ..... .... x = 0; asm("MULADD %0, %1, %2":"=r"(x):"0"(x), "r"(y), "r"(z)); ..... .... The backend does allocate registers %edx, %edi, %esi for x,y, z
2012 Oct 02
2
[LLVMdev] adding support for -ffixed-<reg>
...d >> do it in such a way that other targets get the support as well by default or if >> a given target back-end should have to explicitly opt-in for support. > What "-ffixed-<reg>" does? > > Regards, > chenwj > From the GCC manual (http://gcc.gnu.org/onlinedocs/gcc-4.7.2/gcc/Code-Gen-Options.html#index-ffixed-2267) -ffixed-/reg/ Treat the register named reg as a fixed register; generated code should never refer to it (except perhaps as a stack pointer, frame pointer or in some other fixed role). reg must be the name of a register. The...
2009 Oct 09
2
[LLVMdev] Help with gcc SSE intrinsics
...e_r1146__BITCAST_TEMPORARY .Double))); > > llvm_cbe_r1148 = __builtin_ia32_movddup(llvm_cbe_r1147); > > I don't see __builtin_ia32_movddup defined anywhere in the llvm-gcc > sources. That's probably it. Not llvm-gcc. GNU gcc. It's documented here: http://gcc.gnu.org/onlinedocs/gcc-4.4.1/gcc/X86-Built_002din-Functions.html#X86-Built_002din-Functions -Dave
2002 May 08
1
Turn off 64 bit on 2.5.5
Hi, I have a server running Solaris5.6 with 32 bit, how can I turn off 64 bit, just using 32 bit? Thanks, Jennifer
2010 May 12
2
R version of SAS/IntrNet
Does an R package exist that is similar to SAS/Intrnet (http://support.sas.com/documentation/onlinedoc/intrnet/index.html) that will allow users to take parameters passed to it by a web request, produce results and return them to the web-browser in HTML format?  I tried looking through the package descriptions, but didnt' see anything like this.  Any direction or suggestions you could provide wo...
2012 Oct 02
0
[LLVMdev] adding support for -ffixed-<reg>
> From the GCC manual (http://gcc.gnu.org/onlinedocs/gcc-4.7.2/gcc/ > Code-Gen-Options.html#index-ffixed-2267) > > -ffixed-reg > > Treat the register named reg as a fixed register; generated code should > never refer to it (except perhaps as a stack pointer, frame pointer or in > some other fixed role). > >...
2014 Mar 27
4
[LLVMdev] Named register variables GNU-style
...ster(i8*, i32) nounwind readnone declare i32 @llvm.read_register(i8*) nounwind readnone > This is not exactly the semantics gcc uses since the register would > still be allocatable, but should cover 99% of the uses, including > reading the stack pointer in the kernel. http://gcc.gnu.org/onlinedocs/gcc/Global-Reg-Vars.html It seems that the semantics is to avoid PCS registers, or they will be clobbered... Nevertheless, we can reserve the register on demand, as we already do with R9, for instance. > For example, is it legal to move the read of rsp out of a > loop? No. It should be...
2015 Feb 25
2
[PATCH 2/2] nouveau: Do not add most bo's to the global bo list.
...e. In general things don't get optimized across function calls, except in case of inlinable functions. And for compiler attributes it's the opposite,__attribute__((const)) and __attribute((pure)) can be used to indicate some kind of safety to optimize across functions. https://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html ~Maarten
2014 Mar 06
11
[LLVMdev] RFC - Adding an optimization report facility?
...often due to major passes making slightly different decisions (e.g., the inliner). My intent is to introduce an optimization report option to LLVM which passes will be able to use to indicate the major decisions they make. Initially, I am tempted to mimic GCC's -fopt-info ( http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html#index-fopt-info-747 ). Before I get too far into this, do folks think this is a good idea? I'm open to reasonable requests on how the facility should work, etc. Thanks. Diego. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http...
2017 Feb 05
2
clang/llvm support for %= in inline assembly
from https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html Under certain circumstances, GCC may duplicate (or remove duplicates of) > your assembly code when optimizing. This can lead to unexpected duplicate > symbol errors during compilation if your asm code defines symbols or > labels. Using ‘%=’ (see AssemblerTemplate) m...
2016 Nov 17
2
what does -ffp-contract=fast allow?
...ependent (as long as the target has FMA). 2. This is *not* -ffast-math...or is it? The C standard only shows on/off settings for the associated FP_CONTRACT pragma. 3. AFAIK, clang has no documentation for -ffp-contract: http://clang.llvm.org/docs/UsersManual.html 4. GCC says: https://gcc.gnu.org/onlinedocs/gcc-6.2.0/gcc/Optimize-Options.html#Optimize-Options "-ffp-contract=fast enables floating-point expression contraction such as forming of fused multiply-add operations if the target has native support for them." 5. The LLVM backend (where this reassociation currently happens) shows: FPO...
2011 Jan 21
1
[LLVMdev] goto in inline asm
Is goto from inline asm supported in LLVM 2.8 ? I am searching for something similar to what gcc 4.5 does: http://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html#Extended%20asm%20with%20goto http://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html#Extended%20asm%20with%20goto which allows jumping from inline assembly to a label defined in C. I want to jump from inline asm to a basic block in LLVM. As far as I know in LLVM 2.7 this was n...
2015 Jul 09
2
[LLVMdev] llvm jit acting at runtime, like libgccjit ?
Hello, i mainly code in c/c++ on linux. I would like to know if I can generate code at runtime using llvm, like libgccjit -> https://gcc.gnu.org/onlinedocs/jit/ My needs are : create functions, conditions, loops at runtime. libgccjit does the job pretty well but I would like to test llvm too (licence issue). Is it possible ? Is there a resource that helps in that regard ? Kaleidoscope doesn't seems to be what I expect. Thanks Bye --  Jog
2013 Oct 09
2
unsigned long long suffix
...t for compilers that can't understand using LLU suffix for uint64_t literals */ #ifdef _MSC_VER #define FLAC__U64L(x) x #else #define FLAC__U64L(x) x##LLU #endif I tested MSVS 2005 and indeed it doesn't support LLU suffix, but it can compile a code with ULL suffix. Also, http://gcc.gnu.org/onlinedocs/gcc/Long-Long.html mentions ?ULL? suffix, not ?LLU?. I don't know about VS2003 or earlier versions, but if FLAC supports only Visual Studio 2005 and newer, it's possible to reduce this code to: #define FLAC__U64L(x) x##ULL Another version: /* adjust for compilers that can't underst...
2008 Dec 01
2
Code formatting with VS 2008?
Hi everyone, I see that Visual Studio 2008 Pro has the ability to auto-format code. Does anyone know if there''s a way to auto-format pre-ansi C code to ANSI C? I couldn''t find anything, but there''s so many options in VS I wasn''t sure. Regards, Dan This communication is the property of Qwest and may contain confidential or privileged information.
2012 Oct 02
5
[LLVMdev] adding support for -ffixed-<reg>
I'm adding support for -ffixed-<reg> <http://gcc.gnu.org/onlinedocs/gcc-3.4.3/gcc/Code-Gen-Options.html#index-ffixed-1435> for Hexagon and was wondering if I should do it in such a way that other targets get the support as well by default or if a given target back-end should have to explicitly opt-in for support. Any opinions? Matthew Curtis. -- Qualcomm...