similar to: Writing simple intrinsic in clang

Displaying 13 results from an estimated 13 matches similar to: "Writing simple intrinsic in clang"

2018 Sep 27
3
How to cross-compile for ARC in clang?
Oh, that's what I was afraid of. So there is definetly no way to compile for ARC? If so, should I write ARC.h(.cpp) in lib/Basic/Targets in order to make it work? чт, 27 сент. 2018 г. в 14:47, Tim Northover <t.p.northover at gmail.com>: > Hi, > > On Thu, 27 Sep 2018 at 12:41, Павел Безбородов via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > clang -target
2018 Sep 27
4
How to cross-compile for ARC in clang?
Hello everyone, I'm trying to compile my test.cpp for ARC, using this guide https://clang.llvm.org/docs/CrossCompilation.html. I've built my LLVM+CLANG with ARC, ARM and X86. clang -target arc -S test.cpp Gives me: error: unknown target triple 'arc', please use -triple or -arch clang -targer arm works fine Is there any way to compile for ARC? -------------- next part
2018 Sep 06
2
Adding an trinsics in x86
Hi Everyone! I am a newbie at llvm. So the question may be fundamental but difficult to me. I want to add an trinsics in x86 and make the following changes.I want that max_qb can find the max of two Integers and return it. In src/include/llvm/IR/Intrinsics.td : let TargetPrefix = "x86" in { def int_x86_max_qb: GCCBuiltin<"__builtin_x86_max_qb">,
2016 Jul 28
0
Help wanted: Overloading an Intinsic
Hi David, The error shows that the clang source code uses this intrinsic as well, but in the old form. You need to modify the clang source code (where this intrinsic is used) to consider the overloaded operands. The assert would show the trace where clang uses this intrinsic. Hope this helps, Anna > On Jul 26, 2016, at 3:21 PM, David Noursi via llvm-dev <llvm-dev at lists.llvm.org>
2014 Jun 20
3
[LLVMdev] Passing specific register for an Instruction in target description files.
Hi all, I want to generate an assembly instruction for my target using target description representation of the instruction. The problem is that I want to add direct register to be chose as an output register for my target. Does it possible to do with an instruction definition in TARGETInstrInfo.td file? May be someone could help with an example? Currently I have seen that we can pass the name
2016 Jul 26
2
Help wanted: Overloading an Intinsic
Hello All, I have been modifying LLVM a project of mine, and have encountered issues with overloading an intrinsic function. I have defined two types, abit (which is mapped, in Intrinsics.td, to i128) and qbit (accordingly mapped to i16). I would like my intrinsic function, CNOT(x,y), to accept either an abit or a qbit for each argument, so I overload with iAny and llvm_anyint_ty, as seemed to
2014 Feb 16
2
libvirtd ssl configuration
Hi! I found little semantics bug: [13:53:40] root@dedicated-04:~ # LC_ALL=C libvirtd -h libvirtd: invalid option -- 'h' Usage: libvirtd [options] Options: -v | --verbose Verbose messages. -d | --daemon Run as a daemon & write PID file. -l | --listen Listen for TCP/IP connections. -t | --timeout <secs> Exit after timeout period. -f |
2013 Oct 10
3
[LLVMdev] A new builtin: __builtin_stack_pointer()
One of the issues the LLVMLinux project is having is with the use of named registers in the Linux kernel code. The kernel uses something like this in order to assign a C variable name to a register (one for each kernel arch). register unsigned long current_stack_pointer asm("esp"); clang doesn't allow this kind of thing which required a patch which less efficient: #define
2011 Nov 01
2
Can't work with command prompt on Windows XP
Hi, collegues. I have installed Railsinstaller 2.0.0 and have a problem When I''m starting Command Prompt with Ruby and Rails I see the following text "The network path was not found. # Rails Environment Configuration. Your git configuration is incomplete. user.name and user.email are required for properly using git and services such as GitHub ( http://github.com/ ). Please
2003 Oct 13
1
kernel panic with using IMQ - why?
Hi, All! I have kernel panic with using IMQ on my linux router. In archive of this mailing list i found reason of this truble: i used PREROUTING -j IMQ and POSTROUTING -j IMQ in one time but i don''t understand why this configuration is broken? I want to control all traffic on my external interface, for example i want to lease 30kbit/sec (inbound+outbound, without dividing) for encrypting
2018 Sep 05
2
How to get return address at llvm ir level?
To my knowledge that intrinsic IS generated by frontends like Clang when using _builtin_return_address(), i could be wrong though Zhang > 在 2018年9月5日,10:47,Bekket McClane via llvm-dev <llvm-dev at lists.llvm.org> 写道: > > and
2014 Jul 02
2
[LLVMdev] Passing specific register for an Instruction in target description files.
On Mon, Jun 30, 2014 at 02:40:43AM -0700, Quentin Colombet wrote: > Hi Arsen, > > > > On Jun 19, 2014, at 10:43 PM, Arsen Hakobyan <artinetstudio at gmail.com> wrote: > > > > Hi all, > > > > I want to generate an assembly instruction for my target using target > > description representation of the instruction. The problem is that I want to
2020 Jun 24
4
[RFC] `opt-out` attribute list for intrinsics
Hi all, A while back we started annotating intrinsics with new attributes ( https://reviews.llvm.org/D65377) After some discussion it was decided it would be good to have an `opt-out` attribute list for intrinsics. Some attributes that can be added to the list could be: nosync, nofree, nounwind, willreturn For now, there are 2 approaches: 1. Filtering opt-out attributes in tablegen source (