Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] IO intrinsics?"
2011 May 13
1
[LLVMdev] IO intrinsics?
On 05/12/2011 11:08 PM, 陳韋任 wrote:
> Hi, Hans
>
>> Since getchar and putchar are never defined, I'm assuming they are
>> intrinsics, but they are not documented with the rest of the intrinsics. So
>> are they intrinsics or something else?
>
> I _guess_ standard functions like getchar/putchar are linked by
> default.
Indeed, they're coming from libc. The
2012 Feb 09
1
[LLVMdev] Difficulty inserting putchar in IR
Hi,
I have written a simple code to insert putchar() function into IR.
It compiled well but when I tried to run the generated .bc file with lli,
its not showing
proper output.
Function *putchar_func = cast<Function>(M->
getOrInsertFunction("putchar", IntegerType::getInt32Ty(Context),
IntegerType::getInt32Ty(Context), NULL));
Value *One =
2011 May 13
0
[LLVMdev] IO intrinsics?
Hi, Hans
> Since getchar and putchar are never defined, I'm assuming they are
> intrinsics, but they are not documented with the rest of the intrinsics. So
> are they intrinsics or something else?
I _guess_ standard functions like getchar/putchar are linked by
default.
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica,
2007 Apr 18
7
[Bridge] (no subject)
Dear Sir,
I was trying to install bridge as we are installing
scps gateway in our testbed.This requires us to
install the bridge.
Our Linux version is 2.4.18 ~3 and we are using redhat
7.2
Please let me know which is the bridge I should
install and how to configure it.
Before configuring the bridge what I should check in
my configuration.
Thanks for your time,
Sincerely
Rama
=====
I hear
2010 Feb 17
2
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
I am new to llvm so I might be missing a critical step. My system is
Fedora 12 but this also happens in Mac OS X 10.6.2. Here are the
steps I used to compile llvm:
export TARGETS=x86,x86_64,cpp
export INSTALLDIR=/home/rovitotv/llvm
../llvm-2.6/configure --prefix=$INSTALLDIR --enable-bindings=none
--enable-targets=$TARGETS --enable-optimized
--with-llvmgccdir=$INSTALLDIR
2005 Mar 23
2
limiting bandwidth on iface
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there!
Well, as an exercise, I try ''simulating'' an adsl link (just the speed ;o))
with a GRE tunnel and HTB for bandwidth limiting. Typically in germany
adsl has about 1024kbit downstream and 128kbits upstream (yes, there are
others ;) but these are what I have) - which are the values i try to simulate.
Here is the snipped that
2010 Feb 17
0
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
First, you have to call llvm-g++ to use the llvm-gcc front end, but it
doesn't matter here.
I'd like to suggest that you use pastebin to put your code and the send us
the link, so that we can download it. The problem is that TheExecutionEngine
is set to NULL (maybe because of a previous error), but it will be really
better if you use pastebin.
On Wed, Feb 17, 2010 at 6:01 AM, Todd Rovito
2008 Feb 16
0
[LLVMdev] linux/x86-64 codegen support
Andrew Lenharth wrote:
> Interestingly, in the .i file there are 2 __builtin_alloca, and
> EmitBuiltinAlloca is only being called once.
>
>
Hmm, here EmitBuiltinAlloca gets called twice, but it looks like
validate_arglist is rejecting the args both times.
I have 2 calls to alloca generated:
$ grep alloca x.bc|grep call
%tmp21 = call i8* @alloca( i64 %tmp20 ) nounwind
2007 Apr 18
0
[Bridge] BCP code ported to pppd 2.4.2
Hello,
i have ported the BCP (Bride Control Protocol) patch for pppd 2.4.1
mentioned in
http://lists.osdl.org/pipermail/bridge/2004-September/000619.html
to pppd 2.4.2. The kernel patch still works without problems with kernel
2.4.30.
Perhaps someone else could use this patch ...
Here again some documentation i have found about the BCP patch somewere
else:
When pppd negotiates BCP, it tells
2008 Feb 16
2
[LLVMdev] linux/x86-64 codegen support
Interestingly, in the .i file there are 2 __builtin_alloca, and
EmitBuiltinAlloca is only being called once.
Andrew
On 2/16/08, Andrew Lenharth <andrewl at lenharth.org> wrote:
> libcpp/charset.c:631 turns into:
>
> %tmp16 = tail call i64 @strlen( i8* %to ) nounwind readonly
> ; <i64> [#uses=1]
> %tmp18 = tail call i64 @strlen( i8* %from ) nounwind
2004 May 11
2
[LLVMdev] Problems accessing structs
Hello!
I get some odd behaviour using my structs:
"myKernelMap" = type {int (sbyte*)*, int ()*}
"Kernel" = type {"myKernelMap"*}
The second member ( int()* ) is a pointer to the %getchar() function.
I want to call getchar using this function:
int "callmyKernelgetchar_kernel"("Kernel"* "myKernel")
{
"PTRMAP" =
2011 Apr 20
3
[LLVMdev] Is this a bug in clang?
This code is undefined, meaning that all bets are off, don't do it.
I.e. It reads the value of I between two sequence points and uses it
for something other than determining the value written. From: Csaba
Raduly
Sent: Tuesday, April 19, 2011 3:44 AM
To: Joe Armstrong
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] Is this a bug in clang?
Hi Joe
On Tue, Apr 19, 2011 at 10:59 AM, Joe
2009 Aug 10
2
PROMPT=0/ESCAPE key SERIAL fun
Hi,
For some time now I have been using pxelinux to add a helpful
'administrator' boot mode to our workstations with the following
'pxelinux.cfg/default' config:
----
DEFAULT local
PROMPT 0
TIMEOUT 0
TOTALTIMEOUT 1
ONTIMEOUT menu
ALLOWOPTIONS 0
NOESCAPE 0
LABEL local
LOCALBOOT 0
LABEL menu
CONFIG /pxelinux.cfg/default-menu
----
This is great as by
2011 Apr 20
0
[LLVMdev] Is this a bug in clang?
So... Are 40 and 41 the only legal behaviors or are there more?
Robby
On Tuesday, April 19, 2011, Ahmed Charles <ahmedcharles at gmail.com> wrote:
> This code is undefined, meaning that all bets are off, don't do it.
> I.e. It reads the value of I between two sequence points and uses it
> for something other than determining the value written. From: Csaba
> Raduly
>
2006 Oct 31
0
6266832 UNIX98/UNIX03: getc(), getchar(), putc(), putchar() did not set stream to byte orientation
Author: muffin
Repository: /hg/zfs-crypto/gate
Revision: fecd74c42540dbb707f29987c4b4e10ecff69818
Log message:
6266832 UNIX98/UNIX03: getc(), getchar(), putc(), putchar() did not set stream to byte orientation
Files:
update: usr/src/head/iso/stdio_iso.h
2004 May 11
0
[LLVMdev] Problems accessing structs
Anders Alexandersson wrote:
> Hello!
>
> I get some odd behaviour using my structs:
>
> "myKernelMap" = type {int (sbyte*)*, int ()*}
> "Kernel" = type {"myKernelMap"*}
>
> The second member ( int()* ) is a pointer to the %getchar() function.
>
> I want to call getchar using this function:
>
> int
2009 May 03
3
Domain-specific HLT when idle
Hello hpa,
We are developing a Xen-based virtualization service, and we are trying
to reduce excessive CPU utilization at isolinux boot prompts. When
users boot up a virtual machine on an isolinux boot CD, the CPU starts
spinning at 100%. These machines frequently get left in this state for
days or weeks, degrading the service for everyone else.
You replied to the work-around discussed in
2008 Jul 29
2
[LLVMdev] llvm-gcc linking errors
Hello all,
I was under the impression that llvm-gcc (and g++) could be used as a
standin for plain gcc, without any extra options needed on the
command-line. Is this correct?
If so, then I'm at a loss why I get the linking errors below when using
llvm-gcc compared to a successful gcc build. The multiply defined symbols
reported all seem to come from <stdlib.h>
Any clues?
Thanks,
Paul
2019 Jul 28
2
Efficient way to identify an instruction
Hi Tim,
as always thanks for your help. Unfortunately I made a mistake in my email
but apart from that I still have problems.
Il giorno sab 27 lug 2019 alle ore 11:53 Tim Northover <
t.p.northover at gmail.com> ha scritto:
> Hi Alberto,
>
> On Sat, 27 Jul 2019 at 10:09, Alberto Barbaro via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> > Having the reference I to
2005 Mar 14
4
[SMB 3.0.10] File Locking Mechanism Windows <-> Unix
Hello,
Iam facing a problem in locking of files across samba shares. We have samba
3.0.10 running on Solaris 9 with the smb.conf as follows.
# Global parameters
[global]
workgroup = NMUINT
netbios name = NMUINTFS
interfaces = <IP>
bind interfaces only = Yes
security = DOMAIN
password server = XXX.XXX.XXX.XXX
log level = 1
ldap