search for: baldridge

Displaying 20 results from an estimated 45 matches for "baldridge".

2011 Jun 28
2
[LLVMdev] Box removal
...} ------ As you can see, the allocations are still being performed. Now if we could get rid of these allocations, then this entire function could be reduced to a single line that just returns 10. Is any optimization like this planned or even feasible in LLVM? Thank you for your time. Timothy Baldridge -- “One of the main causes of the fall of the Roman Empire was that–lacking zero–they had no way to indicate successful termination of their C programs.” (Robert Firth)
2011 Jul 01
3
[LLVMdev] Pointer Constant?
I'm writing a JIT for my toy language, and I'm confused by one thing. How do I, with IR Builder, Insert a pointer constant? For the first version of my jit, I really only need LLVM to pass around opaque types and then pass those variables to C functions that return other opaque types. So for instance, I have a Int object that wraps the GNU GMP routines. A want to be able to tell IRBuilder
2008 Dec 16
2
[LLVMdev] OpenCL Frontend
There seems to be some interest these days in OpenCL. However for some projects, a issue they face to adopting OpenCL is requirements of maintaining two source trees: one for normal C code (for use on systems without OpenCL support or poor OpenCL performance) and another for OpenCL. I am interested in using LLVM to create a OpenCL frontend for multicore CPUs. Now that the spec is out, we have a
2008 Dec 16
0
[LLVMdev] OpenCL Frontend
On Tuesday 16 December 2008 12:21:24 Timothy Baldridge wrote: > There seems to be some interest these days in OpenCL. However for some > projects, a issue they face to adopting OpenCL is requirements of > maintaining two source trees: one for normal C code (for use on > systems without OpenCL support or poor OpenCL performance) and another...
2011 May 12
2
[LLVMdev] Pre-built LLVM shared libs for Windows?
I'd like to do some simple C# -> LLVM C API bindings for windows. Is there a place I can get pre-built LLVM .dlls for windows? Thanks Timothy -- “One of the main causes of the fall of the Roman Empire was that–lacking zero–they had no way to indicate successful termination of their C programs.” (Robert Firth) -------------- next part -------------- An HTML attachment was scrubbed...
2013 Mar 05
2
[LLVMdev] Bad Instruction 4 with fastcc
On OSX I thought I'd try to optimize my compiler a bit by switching some of the calling conventions from CCallingConv to FastCC. The compiler ran fine, but when I executed the code, I got "Bad Instruction 4". I'm seeing some other mentions on this mailing list of issues like this on OSX (I'm using 10.8). Is there anything I need to change to enable fastcc with my compiler? I
2011 May 12
3
[LLVMdev] Vtables for non c++ languages
I'm working on implementing a simple functional language in LLVM. It's statically typed, but I'd like to a have some simple multimethods involved. Does LLVM have some intrinsics for handling something like C++ vtables? Or do I need to implement my own way of handling single-dispatch functions? Thanks, Timothy -- “One of the main causes of the fall of the Roman Empire was
2004 Jul 10
6
How can Windows 2000 mount a share as a service?
I've asked every M$ expert I know, trolled through M$ TechNet, experimented with SRVANY/INSTSRV login scripts which hard-code username/passwords to login to a Samba 2.2.8a SMB server. I've experiment with and without the "Allow service to interact with Desktop" switch turned on. I am stuck. :( I can find no way to mount a share as a service, so that IIS can serve web-pages
2004 Apr 13
6
NUA + MYSQL?
Hello all. I just joined the list, because I am interested in NUA features of Samba3. I got the MySQL passdb backend working, but it still requires a Unix System account. I need to use fully virtualized user accounts. Re: the release of Samba3 and NUA capabilities I have found this: <snip> In the development of Samba-3, a number of requests were received to provide the ability to
2004 Mar 26
2
Automount from Windows w/o logging in first?
I am trying to do something which should seem very straightforward, not to mention, not unusual for load-balanced web servers, namely: providing a faceless/login-less mounting of SMB shares from NT4 and Win2K servers. Yes, I accept that I will need to stash a plaintext login key in some script or registry key. The security impacts are acceptable. I have the latest Samba 2.2.x server, and a
2004 Aug 06
2
Re: does installed lib support _int()s ?
>>>>> "Malcolm" == Malcolm Baldridge <speex@paypc.com> writes: Malcolm> Well, for compile-time, I'd think that an #ifdef would do the Malcolm> trick. How? VERSION isn't included anywhere except in speex_init_header(), and I do not see any other symbols that encode the version.... That said, I looked at the code...
2011 Jul 02
0
[LLVMdev] Pointer Constant?
...ecked, though, the generated X86 code doesn't treat the resulting pointer as a constant... for instance, if you use it as a function pointer, the X86 code ends up being an indirect call through a function pointer in a register, rather than a direct call. On Fri, Jul 1, 2011 at 9:30 AM, Timothy Baldridge <tbaldridge at gmail.com> wrote: > I'm writing a JIT for my toy language, and I'm confused by one thing. > How do I, with IR Builder, Insert a pointer constant? For the first > version of my jit, I really only need LLVM to pass around opaque types > and then pass those var...
2004 Aug 06
4
Re: does installed lib support _int()s ?
...R_VERSION and SPEEX_GET_MINOR_VERSION (and return ints). I'm open to other suggestions though. If there's anything you'd like to see in the API for 1.2, say it now. ...and no, I won't add a speex_do_all_the_work_for_me() call :) Jean-Marc Le dim 16/05/2004 à 16:42, Malcolm Baldridge a écrit : > > How? VERSION isn't included anywhere except in speex_init_header(), > > and I do not see any other symbols that encode the version.... > > Hrm, I take it then that speex_encode_int() exists in both 1.0 and 1.1, > then? I'd assumed that speex_encode_int(...
2008 Dec 16
2
[LLVMdev] OpenCL Frontend
Awesome, is the development of this being tracked somewhere? And is there a way I can get involved? Timothy On Tue, Dec 16, 2008 at 11:52 AM, Zack Rusin <zack at tungstengraphics.com> wrote: > On Tuesday 16 December 2008 12:21:24 Timothy Baldridge wrote: >> There seems to be some interest these days in OpenCL. However for some >> projects, a issue they face to adopting OpenCL is requirements of >> maintaining two source trees: one for normal C code (for use on >> systems without OpenCL support or poor OpenCL performan...
2011 May 12
0
[LLVMdev] Vtables for non c++ languages
On Wed, May 11, 2011 at 8:54 PM, Timothy Baldridge <tbaldridge at gmail.com>wrote: > I'm working on implementing a simple functional language in LLVM. It's > statically typed, but I'd like to a have some simple multimethods involved. > Does LLVM have some intrinsics for handling something like C++ vtables? Or > do I n...
2011 May 12
0
[LLVMdev] Pre-built LLVM shared libs for Windows?
Timothy Baldridge <tbaldridge at gmail.com> writes: >> > I'd like to do some simple C# -> LLVM C API bindings for >> > windows. Is there a place I can get pre-built LLVM .dlls for >> > windows? >> >> Building LLVM as DLL's on Visual Studio is not supported. &g...
2012 Dec 26
1
[LLVMdev] Proper values for LLVMCreateTargetMachine
I can't seem to get LLVMCreateTargetMachine to work on my box (MBP i7 OS X 10.8). What should the values of triple, cpu and features be? I'm just looking for a way to get this up and going for now, I don't need specific optimizations. No matter what I send the function, I always get nil back. I'm giving it LLVMGetFirstTarget as the target value. Thanks for the help, Timothy
2014 Jan 17
2
[LLVMdev] Invalid RegNum error
I'm writing a compiler using LLVM, and suddenly today I started to get this error, when emitting to a .s file. Assertion failed: (I != M+Size && I->FromReg == RegNum && "Invalid RegNum"), function getLLVMRegNum, file MCRegisterInfo.cpp, line 78. I'm emitting using x86_64-apple-darwin. Any thoughts about what could be causing this? LLVM validation does not
2004 Aug 06
0
Coredumps when --enable-sse is selected
...different options so we can narrow it down a bit. For example, does it work with the default CFLAGS or without --vbr or --dtx. Last thing, maybe it's the file. If so, please send me the smallest sample you have that reproduces the problem. Jean-Marc Le mer 05/05/2004 à 21:32, Malcolm Baldridge a écrit : > System: Linux 2.4.25, glibc-2.3.2, gcc-3.2.3 (weird palindrome there), on a > Williamette core Pentium 4 (1.6Ghz) system. > > I've tried both speex 1.1.5 release, and the current CVS (which self-IDs as > 1.1.4), and the result is the same. > > I suspect some f...
2006 May 26
2
question about coding
John Miles wrote: > You'll definitely have to encode in little-endian form. PCM audio is always > little-endian, to the best of my knowledge. I have never seen any > big-endian audio data files. Try AIFF, AU and IFF just for starters. They are definietly not the only ones. Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo