search for: dutton

Displaying 20 results from an estimated 164 matches for "dutton".

Did you mean: button
2013 Sep 15
2
[LLVMdev] LLVM disassembler bugs
The attached patch includes no test-case and isn't consistent with the rest of the file: - constants should be on the right hand side of comparisons - the braces around your single line 'if' aren't needed. On Sun, Sep 15, 2013 at 2:39 PM, James Courtier-Dutton < james.dutton at gmail.com> wrote: > I attach a patch that fixes this bug. Applies to llvm 3.4svn > > Please commit it please. > > Kind Regards > > James > > > > > On 13 September 2013 17:46, James Courtier-Dutton <james.dutton at gmail.com>wrote: &...
2013 Sep 15
0
[LLVMdev] LLVM disassembler bugs
...ttached patch includes no test-case and isn't consistent with the > rest of the file: > - constants should be on the right hand side of comparisons > - the braces around your single line 'if' aren't needed. > > > > On Sun, Sep 15, 2013 at 2:39 PM, James Courtier-Dutton < > james.dutton at gmail.com> wrote: > >> I attach a patch that fixes this bug. Applies to llvm 3.4svn >> >> Please commit it please. >> >> Kind Regards >> >> James >> >> >> >> >> On 13 September 2013 17:46, James...
2013 Sep 13
3
[LLVMdev] LLVM disassembler bugs
Hi, I am looking at the "LLVMOpInfoCallback GetOpInfo" callback. Example 1 GOOD: 41 c6 84 24 16 04 00 00 0c : movb $12, 1046(%r12) Makes calls to the callback with: Offset = 0x4, Size = 0x4 <- Octets: 16 04 00 00 Offset = 0x8, Size = 0x1 <- Octets: 0c That was correct. Example 2 BAD: c7 45 98 a1 ff ff ff : movl $4294967201, -104(%rbp) Makes calls to the callback
2013 Mar 16
3
[LLVMdev] Simple question
On Mar 15, 2013 10:53 PM, "Óscar Fuentes" <ofv at wanadoo.es> wrote: > > James Courtier-Dutton <james.dutton at gmail.com> writes: > > > I think this is a very simple question, and it must just be missing something. > > > > I am looking for find out how to assign a constant integer value to > > the variable in llvm ir. > > > > The following return...
2013 Sep 15
0
[LLVMdev] LLVM disassembler bugs
I attach a patch that fixes this bug. Applies to llvm 3.4svn Please commit it please. Kind Regards James On 13 September 2013 17:46, James Courtier-Dutton <james.dutton at gmail.com>wrote: > Hi, > > I am looking at the "LLVMOpInfoCallback GetOpInfo" callback. > > Example 1 GOOD: > 41 c6 84 24 16 04 00 00 0c : movb $12, 1046(%r12) > > Makes calls to the callback with: > Offset = 0x4, Size = 0x4 <-...
2013 Mar 15
6
[LLVMdev] Simple question
Hi, I think this is a very simple question, and it must just be missing something. I am looking for find out how to assign a constant integer value to the variable in llvm ir. The following returns 12, and %var2 = 12. ; ModuleID = 't.c' target datalayout =
2013 Oct 29
2
[LLVMdev] Missed optimization opportunity with piecewise load shift-or'd together?
On Mon, Oct 28, 2013 at 10:09 AM, James Courtier-Dutton <james.dutton at gmail.com> wrote: > My guess is that this is a missed optimization, but in real life, all > projects i have worked fix this in the C or C++ code using macros that > change what instructions are used based on target platform and its > endedness. One reason for wri...
2020 Jun 30
2
How to prevent llvm's default optimization
...r a multiplication, which has to be loaded from the constant pool (extra memory access). So I wonder, is it possile to prevent it, via changes to the config of the base class TargetLowering,than writing special custom C++ code. Ben At 2020-06-30 07:46:41, "James Courtier-Dutton" <james.dutton at gmail.com> wrote: >Hi Ben, > >Why do you want to stop it? >"mul then add" is faster than "add then mul". >The result is the same in both cases. > >On Mon, 29 Jun 2020 at 22:11, Ben Shi via llvm-dev ><llvm-dev at lists.llvm....
2013 Mar 16
0
[LLVMdev] Simple question
You can't. You have to use the value 12 directly. On 16 March 2013 00:18, James Courtier-Dutton <james.dutton at gmail.com>wrote: > > On Mar 15, 2013 10:53 PM, "Óscar Fuentes" <ofv at wanadoo.es> wrote: > > > > James Courtier-Dutton <james.dutton at gmail.com> writes: > > > > > I think this is a very simple question, and it must ju...
2013 Mar 15
0
[LLVMdev] Simple question
On Mar 15, 2013, at 3:08 PM, James Courtier-Dutton <james.dutton at gmail.com> wrote: > Hi, > > I think this is a very simple question, and it must just be missing something. > > I am looking for find out how to assign a constant integer value to > the variable in llvm ir. > > The following returns 12, and %var2 =...
2013 Mar 15
0
[LLVMdev] Simple question
James Courtier-Dutton <james.dutton at gmail.com> writes: > I think this is a very simple question, and it must just be missing something. > > I am looking for find out how to assign a constant integer value to > the variable in llvm ir. > > The following returns 12, and %var2 = 12. > ; Modul...
2013 Jun 28
0
[LLVMdev] Question regarding the x86 SBB instruction.
Look at the __builtin_addc* builtins in clang. I am currently working on an optimization which transforms said intrinsics into chains of ADCs/SBBs. Michael On Jun 28, 2013, at 5:51 AM, James Courtier-Dutton <james.dutton at gmail.com> wrote: > Hi, > > I have the x86 SBB instruction. how should I represent this in LLVM > IR. (as part of a decompiler from binary to LLVM IR) > > Pre-conditions: > %eax = 0xffffffff > %edx = 0xffffffff > %carry = 1 > > SBB %eax,...
2012 Sep 13
5
[LLVMdev] [OT] Control Flow Graph(CFG) into Abstract Syntax Tree(AST)
Hi, I know most compilers go from AST to CFG. I am writing a decompiler, so I was wondering if anyone knew of any documents describing how best to get from CFG to AST. The decompiler project is open source. https://github.com/jcdutton/libbeauty The decompiler already contains a disassembler and a virtual machine resulting in an annotated CFG. It uses information gained from using a virtual machine to annotate the CFG. Another use of the VM will be to help analyze self modifying code. The decompiler can output C source code for...
2013 Jun 28
3
[LLVMdev] Question regarding the x86 SBB instruction.
Hi, I have the x86 SBB instruction. how should I represent this in LLVM IR. (as part of a decompiler from binary to LLVM IR) Pre-conditions: %eax = 0xffffffff %edx = 0xffffffff %carry = 1 SBB %eax, %edx // %edx is the destination doing %edx = %edx - (%eax + carry) JC jump_destination1 // If the Carry flag is set, jump to jump_destination1 How do I represent this correctly in LLVM
2012 May 07
6
[LLVMdev] Using LLVM for decompiling.
On 7 May 2012 16:31, John Criswell <criswell at illinois.edu> wrote: > On 5/7/12 5:47 AM, James Courtier-Dutton wrote: >> >> Hi, >> >> I am writing a decompiler. I was wondering if some of LLVM could be >> used for a decompiler. >> There are several stages in the decompiler process. >> 1) Take binary and create a higher level representation of it. Like RTL. >>...
2005 Nov 15
11
Unable to connect samba server using hostname
Hai All, I am Unable to connect samba server using hostname the thing is.. its happen only from few windows machine in my network... but they can access the sambe share using IPAddress.. as like all other machine All the other Windows system in my network can access samba share using both... IP Address and Hostname.. This creating a big headache for me..... please suggest some solution to solve
2013 Apr 13
2
[LLVMdev] GSoC project questions.
----- Original Message ----- > From: "Anton Korobeynikov" <anton at korobeynikov.info> > To: "James Courtier-Dutton" <james.dutton at gmail.com> > Cc: "Hal Finkel" <hfinkel at anl.gov>, "Bill Wendling" <isanbard at gmail.com>, "LLVM Developers Mailing List" > <llvmdev at cs.uiuc.edu> > Sent: Saturday, April 13, 2013 9:12:39 AM > Subject: Re:...
2013 Oct 29
0
[LLVMdev] Missed optimization opportunity with piecewise load shift-or'd together?
----- Original Message ----- > On Mon, Oct 28, 2013 at 10:09 AM, James Courtier-Dutton > <james.dutton at gmail.com> wrote: > > My guess is that this is a missed optimization, but in real life, > > all > > projects i have worked fix this in the C or C++ code using macros > > that > > change what instructions are used based on target platform and...
2017 Apr 16
2
[LLVMdev] Moving towards a singular pointer type
On Sun, Apr 16, 2017 at 2:34 AM James Courtier-Dutton via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Hi, > > Did this work ever get done? There was a long thread about it back in 2015. > > I wish to use IRBuilder. > Is there any documentation? > How do I use the singular pointer type in GEP, LOAD, STORE instructions? &...
2020 Jun 30
2
How to prevent llvm's default optimization
...gt; So I wonder, is it possile to prevent it, via changes to the config of >> the base class TargetLowering,than writing special custom C++ code. >> >> >> Ben >> >> >> >> >> >> >> >> At 2020-06-30 07:46:41, "James Courtier-Dutton" <james.dutton at gmail.com> wrote: >> >Hi Ben, >> > >> >Why do you want to stop it? >> >"mul then add" is faster than "add then mul". >> >The result is the same in both cases. >> > >> >On Mon, 29 Jun 2020...