Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] Hello World assembly without clib "puts"?"
2012 Sep 30
0
[LLVMdev] Hello World assembly without clib "puts"?
On 30 Sep 2012, at 01:05, Andrew Pennebaker wrote:
> Can Hello World be written in LLVM assembly without using a C library function like "puts"?
LLVM IR models a general-purpose unprivileged CPU instruction set and so lacks anything to do I/O. If you want to interact with anything beyond the CPU and stack, you must either call a library function, issue a system call, or modify some
2012 Sep 30
3
[LLVMdev] Hello World assembly without clib "puts"?
>
> The more important question is: why would you want to do that? What
> problem are you trying to solve?
As weird as it sounds, I'm looking for multiplatform assembly languages. I
want to learn assembly, but I want my knowledge and code to carry over no
matter which operating system I'm using. I regularly use Windows, Mac, and
Linux, and I don't want to have to rewrite my
2012 Oct 18
4
Trouble with parentheses in Markdown hyperlinks
How can we improve URL detection in Markdown? I posted a question on Stack
Overflow and happened to click a URL in my post. To my surprise, it wasn't
functional, and it took three different, nonintuitive manipulations before
I achieved a functional URL. Stack Overflow says "not my problem", so I'm
deferring to Markdown itself.
Here's a
2012 Oct 02
2
rsync hashing / collision handling?
Based on the published rsync algorithm
(pdf<http://cs.anu.edu.au/techreports/1996/TR-CS-96-05.pdf>),
it appears to filter definitely different blocks from possibly unchanged
blocks using weak hashing, then applying strong hashing to double-check the
rest of the file for true differences. MD4 and MD5 do experience
collisions, so isn't rsync fast at the risk of being inaccurate? If I can
2011 Mar 05
3
[LLVMdev] Building LLVM on MinGW32 / Windows 7 Professional x64
When I try to compile LLVM, a dialog pops up halfway through the process:
"tblgen.exe has stopped working" and the build quits.
I would really appreciate a binary pack for llvm-as, llc, etc.
Specs:
GCC 4.5.2
MinGW-Get 0.1-alpha-5.1
Windows 7 Professional x64
Steps:
Install MinGW (
2013 Nov 20
2
[LLVMdev] clang.exe: fatal error: 'stdio.h' file not found
I'm trying to compile hello.c with clang.exe, but I'm getting an error
about missing cstdlib headers.
Source:
https://github.com/mcandre/mcandre/tree/master/c/hello/
Trace:
C:\Users\andrew\Desktop\src\mcandre\c\hello>gmake
clang -O2 -Wall -Wextra -Wmost -Weverything -o hello hello.c
hello.c:1:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
^
1
2014 Feb 05
2
[LLVMdev] How can I get llvm-as for Ubuntu?
I used to be able to `apt-get install llvm` to install `llvm-as`, an LLVM
assembler. I think some tools/packages have moved around since then.
What can I use to compile `.ll` assembler files into executables?
--
Cheers,
Andrew Pennebaker
www.yellosoft.us
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2013 Nov 20
0
[LLVMdev] clang.exe: fatal error: 'stdio.h' file not found
Andrew,
This might be offtopic for llvmdev. I suggest the mailing list, cfe-users.
> * clang.exe version 3.4 (trunk), from LLVM 3.4.svn
How did you build it? clang.exe depends on crt libraries, either
mingw32 or msvcrt.
Please try (and watch their output);
> clang --version
> clang -v -O2 -o hello.exe hello.c
Please confirm;
- Which library did you install? Visual studio or
2011 Mar 05
0
[LLVMdev] Building LLVM on MinGW32 / Windows 7 Professional x64
Hi Andrew,
> When I try to compile LLVM, a dialog pops up halfway through the process:
> "tblgen.exe has stopped working" and the build quits.
>
> I would really appreciate a binary pack for llvm-as, llc, etc.
indeed windows is the only platform for which the LLVM core tools like llvm-as,
llc etc are not provided in the binary distribution. I think it would be better
if
2016 Jul 03
2
clib `open` writes a linefeed to stdout when used in the JIT
I'm having a problem with my code generating empty lines and it appears
to be the CLib `open` function generating an empty line when used within
the JIT-VM. If I compile my program to an exe file it doesn't happen. I
also have a lot of other code running in the VM without this problem,
it's somehow particular to `open`.
A chunk of my IR that calls `open`:
defer_body_26:
2013 Apr 30
0
[LLVMdev] Package llvm-mode for MELPA and Marmalade
Modern Emacs uses a standard set of repos for managing emacs mode packages,
so that all users need to add syntax highlighting for llvm-mode would be
M-x package-install RET llvm-mode RET.
Could we package llvm-mode for these repos?
* MELPA <http://melpa.milkbox.net/>
* Marmalade <http://marmalade-repo.org/>
--
Cheers,
Andrew Pennebaker
www.yellosoft.us
-------------- next part
2015 May 29
2
libguestfs-tools missing implicit dependency in ubuntu
When I install libguestfs-tools in ubuntu (latest docker base image, 14.04
trusty tahr) and run virt-builder --list, it complains of a missing curl
dependency.
We should probably make curl an explicit dependency in the deb package to
fix this.
--
Cheers,
Andrew
2014 Nov 26
2
Changelog: improved decoding
There's an entry in the changelog:
"Improved decoding efficiency of all bit depths but especially so for 24 bits (lvqcl)"
A couple of comments:
1) The patch that improves encoding for all depths was proposed by Miroslav Lichvar
<http://git.xiph.org/?p=flac.git;a=commit;h=4eab6313cd2198b5647d925bdb3847590505fa21>
2) "Performance checks" graph posted by Martijn van
2001 May 01
2
graphics library fltk
we still do not have dynamic graphics in R natively.
i just found out about a widget library called fltk
info is at
www.fltk.org
it has all the stuff r currently can do only through tcl/tk or
(as i do it) excel: sliders, knobs, spinners and so on.
it is multiplatform, there are production versions for
unixen and windows, and there is a beta for macs.
this could be a way of getting some of
2008 Oct 11
0
[LLVMdev] 2.4 Pre-release (v1) Available for Testing
OvermindDL1 wrote:
> On Fri, Oct 10, 2008 at 3:19 PM, Kenneth Boyd <zaimoni at zaimoni.com> wrote:
>
>> LLVM will be mostly irrelevant on Windows as long as it doesn't have
>> either a native-enough testing framework on Windows, or a build process
>> that chokes on canonical Windows tools. [Specifically, Perl. I get the
>> same errors with unpatched
2004 Sep 10
2
Blocking and compression.
On Tue, 2004-01-20 at 23:44, Josh Coalson wrote:
> Miroslav did some experiments with searching for optimum blocksize.
> from what I remember it made at best a couple percent difference.
> there was a thread about it here a while back.
>
Did his changes make it in? I can think of a coupla ways to approach
this and I'd like to hear about what he tried.
A couple of % doesnt seem
2008 Oct 26
2
[LLVMdev] CMake builds clang.
On Oct 26, 2008, at 11:17 AM, Óscar Fuentes wrote:
>> It would be simpler for autoconf builds to have a Perl script that
>> updates the CMakeLists.txt files when necessary. (This doesn't look
>> *that* hard, but I can't say when I'll surface long enough to work
>> on that.)
>
> In theory, it is possible to do this with cmake itself. In practice,
>
2018 Feb 14
2
[PATCH 4/4] vfio: Allow type-1 IOMMU instantiation with a virtio-iommu
On Wed, 14 Feb 2018 14:53:40 +0000
Jean-Philippe Brucker <jean-philippe.brucker at arm.com> wrote:
> When enabling both VFIO and VIRTIO_IOMMU modules, automatically select
> VFIO_IOMMU_TYPE1 as well.
>
> Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker at arm.com>
> ---
> drivers/vfio/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
2018 Feb 14
2
[PATCH 4/4] vfio: Allow type-1 IOMMU instantiation with a virtio-iommu
On Wed, 14 Feb 2018 14:53:40 +0000
Jean-Philippe Brucker <jean-philippe.brucker at arm.com> wrote:
> When enabling both VFIO and VIRTIO_IOMMU modules, automatically select
> VFIO_IOMMU_TYPE1 as well.
>
> Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker at arm.com>
> ---
> drivers/vfio/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
2007 Feb 19
0
Hello world
Hi-
Danny Burkes here from Lingr (http://www.lingr.com). We''re
evaluating bdrb and so far, so good. It''s deployed in staging now
and seems to be working fine. I have a couple of questions that I
couldn''t find references to in the archive, so here it goes-
1. Is there any way to do a "graceful" stop of bdrb? What I mean
is, I want to stop bdrb,