similar to: Emitting machine function to object file

Displaying 20 results from an estimated 90000 matches similar to: "Emitting machine function to object file"

2011 Aug 10
1
[LLVMdev] How to emit a simple stream of machine code.
Hi, I am working on an LLVM backend for GPUs, and I would like to be able to emit a very simple byte stream of machine code, so that it can be fed directly into the GPU. I don't need anything fancy, just the raw machine code, one instruction after another. I think I've already implemented everything in the backend that is required to do this, but I'm not sure how to get a pointer to
2019 Apr 26
2
[RFC][clang/llvm] Allow efficient implementation of libc's memory functions in C/C++
*TL;DR:* Defining memory functions in C / C++ results in a chicken and egg problem. Clang can mutate the code into semantically equivalent calls to libc. None of `-fno-builtin-memcpy`, `-ffreestanding` nor `-nostdlib` provide a satisfactory answer to the problem. *Goal* Create libc's memory functions (aka `memcpy`, `memset`, `memcmp`, ...) in C++ to benefit from compiler's knowledge and
2004 Nov 04
3
[fdo] Re: TTS API
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Milan! Thanks for your comments ont he requirement list. [Milan Zamazal, Dienstag, 26. Oktober 2004 20:58] > [Since the mailing list apparently hasn't been created yet, I continue > in private not to freeze the discussion for too long.] > I have just asked David Stone when we can start using the list. > BTW, this might be
2015 Jul 23
0
[LLVMdev] some superoptimizer results
On 07/23/2015 07:24 AM, John Regehr wrote: >> I guess another way to select interesting transformations could be to >> look for sequences where the >> result uses a "subset" of the input instruction sequence. > > Yeah, I had been noticing those subsets too. It sounds like it's > worth a try doing a run that looks only for those. > > One nice thing
2004 May 17
0
DTMF transmitted over IAX2 coming out as clicks at the other end
I'm having a weird problem with IAX2 in today's CVS HEAD. I have two boxes with T100P cards connected via IAX2. Calls between them work fine, but when I press a key at one end, it comes out the other end as a click, with no tone. I've tested the DTMF on the T1 using SendDTMF with an outgoing call, and it sounds fine in that case; it seems to be only IAX2 that has the problem.
2016 Jun 27
0
Building an array in a section from multiple object files
Just to close this out, I've updated http://reviews.llvm.org/D19904 to use named ELF groups per-function, and have the runtime library use __start_xray_instr_map and __stop_xray_instr_map as weak symbols from the C++ side. I've sent a patch to make creating these COMDAT/Group sections easier when lowering through the MCStreamer interface ( http://reviews.llvm.org/D21743). Cheers On Fri,
2016 Jun 23
2
Building an array in a section from multiple object files
Awesome, thanks Peter! Cheers On Thu, Jun 23, 2016 at 10:35 AM Peter Collingbourne <peter at pcc.me.uk> wrote: > If you give your section a valid C identifier name, i.e. something like > "xray_instr_map" (no period), the linker will synthesize symbols named > "__start_xray_instr_map" and "__stop_xray_instr_map", which will point to > the start and
2010 Feb 02
1
Fwd: Re: Fixed Point on wideband-mode: Single Frame loss on 2000 Hz sine causes "freak off"
Hi Jean-Marc, I'm currently trying to analyze the LPC synthesis filter. For this, can you please tell me the exact format of the LPC coeffs (in variable interp_qlpc), please? cheers, Frank -----Urspr?ngliche Nachricht----- Von: "Frank Lorenz" <Frank_wtal at web.de> Gesendet: 02.02.10 11:00:16 An: jean-marc.valin at usherbrooke.ca CC: speex-dev at xiph.org Betreff: Re:
2016 Jun 27
1
Building an array in a section from multiple object files
Dean Michael Berris via llvm-dev <llvm-dev at lists.llvm.org> writes: > Just to close this out, I've updated http://reviews.llvm.org/D19904 to use > named ELF groups per-function, and have the runtime library use > __start_xray_instr_map and __stop_xray_instr_map as weak symbols from the > C++ side. In case you're not aware, the __start_/__stop_ trick isn't portable.
2015 Mar 08
2
[LLVMdev] Inspecting target-specific opcodes in machine function pass
Hello, thank you very much for answering. I am trying to do the following: get the encoding for each instruction and if that encoding contains a C3 byte, insert a NOP instruction (or multiple NOP instructions, or any other instructions) before that instruction. The idea behind this is to protect against ROP (Return Oriented Programming) attacks. By inserting a NOP the attacker can no longer abuse
2016 Jun 23
2
Building an array in a section from multiple object files
Hi, As part of working on XRay, I'm trying to accomplish the following: create a section that contains an array of entries pertaining to the instrumentation map (nop sleds) in an object file, and have those merged into a single section in the final binary where the contents are concatenated. The trick though is I'd like to be able to reference the whole array with a single symbol (or two,
2004 Jan 06
0
Boost Protein Expression by Codon Optimization
Dear Colleague, Happy New Year! As we know, codon preference among different species could be dramatically different. To enhance the expression level of a foreign protein in a particular expression system (E.coli, Yeast, Insect, or Mammalian cell), it is very important to adjust the codon frequency of the foreign protein to match that of the host expression system. One classic example is GFP
2004 Jan 08
1
Boost Protein Expression by Codon Optimization
Dear Colleague, Happy New Year! As we know, codon preference among different species could be dramatically different. To enhance the expression level of a foreign protein in a particular expression system (E.coli, Yeast, Insect, or Mammalian cell), it is very important to adjust the codon frequency of the foreign protein to match that of the host expression system. One classic example is GFP
2005 Jan 16
3
interpolation of LSFs and bandwidth expansion
hi, thanks for answers to my previous qns. have some more of them. hope it's ok to ask questions on the basics of CELP here. let me know if it's not. 1) synthesized filter stability after interpolation of LSFs I read from some resources that if LSF representation of LPCs is used for interpolation, stability of the synthesis filter is guaranteed. from another source, i read that the
2009 Apr 13
0
[LLVMdev] Depth First Sort of Machine Basic Blocks just before emitting code
On Apr 13, 2009, at 11:20 AM, Daniel M Gessel wrote: > For nefarious reasons I won't go into (this is for a quick hack that > will be thrown away in a week or two), I'd like my Asm printer to get > MBBs in a depth first order. > > Is there an existing pass or function that will let me do this easily? Check out "llvm/ADT/DepthFirstIterator.h", it lets you iterate
2009 Apr 13
0
[LLVMdev] Depth First Sort of Machine Basic Blocks just before emitting code
po_iterator (ADT/PostOrderIterator.h) ? On Mon, Apr 13, 2009 at 5:40 PM, Daniel M Gessel <gessel at apple.com> wrote: > That looks like it does a preorder depth first traversal (I think). > I'm looking for postorder. Is there a trivial transform between the > two? (I don't know one.) > > Am I wrong about the preorder/postorder? If not, anything lurking for >
2009 Apr 14
1
[LLVMdev] Depth First Sort of Machine Basic Blocks just before emitting code
Too obvious! Thanks Dan On Apr 13, 2009, at 7:58 PM, John Mosby wrote: > po_iterator (ADT/PostOrderIterator.h) ? > > On Mon, Apr 13, 2009 at 5:40 PM, Daniel M Gessel <gessel at apple.com> > wrote: > That looks like it does a preorder depth first traversal (I think). > I'm looking for postorder. Is there a trivial transform between the > two? (I don't know
2009 Apr 13
2
[LLVMdev] Depth First Sort of Machine Basic Blocks just before emitting code
That looks like it does a preorder depth first traversal (I think). I'm looking for postorder. Is there a trivial transform between the two? (I don't know one.) Am I wrong about the preorder/postorder? If not, anything lurking for postorder traversal? Thanks, Dan On Apr 13, 2009, at 2:35 PM, Chris Lattner wrote: > > On Apr 13, 2009, at 11:20 AM, Daniel M Gessel wrote:
2015 Jul 24
2
[LLVMdev] some superoptimizer results
Hi, On 23/07/15 19:11, Philip Reames wrote: > > > On 07/23/2015 07:24 AM, John Regehr wrote: >>> I guess another way to select interesting transformations could be to look >>> for sequences where the >>> result uses a "subset" of the input instruction sequence. >> >> Yeah, I had been noticing those subsets too. It sounds like it's
2019 May 09
1
Why did "llvm.memcpy" changed when emitting an object file?
On Thu, 9 May 2019 at 09:04, Gaier, Bjoern <Bjoern.Gaier at horiba.com> wrote: > Can I influence if intrinsics are lowered or not? You can't guarantee memcpy won't be called, if that's what you mean. If nothing else, most targets simply don't have the code to build a physical loop to do the copy. You have to find a way to provide it in your JIT. Cheers. Tim.