search for: obj_header

Displaying 4 results from an estimated 4 matches for "obj_header".

2010 Jan 04
0
[LLVMdev] ASM output with JIT / codegen barriers
Responding to the original email... On Sun, Jan 3, 2010 at 10:10 PM, James Y Knight <foom at fuhm.net> wrote: > In working on an LLVM backend for SBCL (a lisp compiler), there are > certain sequences of code that must be atomic with regards to async > signals. Can you define exactly what 'atomic with regards to async signals' this entails? Your descriptions led me to think
2010 Jan 04
2
[LLVMdev] ASM output with JIT / codegen barriers
...;; Barrier only to ensure instruction ordering, not needed as a true memory barrier call void @llvm.memory.barrier(i1 0, i1 0, i1 0, i1 1, i1 0) ;; Call might actually be inlined, so cannot depend upon unknown call causing correct codegen effects. %obj = call i64* @alloc(i64 32) %obj_header = getelementptr i64* %obj, i64 0 store i64 5, i64* %obj_header ;; store obj type (5) in header word %obj_len = getelementptr i64* %obj, i64 1 store i64 2, i64* %obj_len ;; store obj length (2) in length slot ...etc... ;; Check if we were interrupted: %res = call i64 @llvm.atomic....
2010 Jan 04
4
[LLVMdev] ASM output with JIT / codegen barriers
In working on an LLVM backend for SBCL (a lisp compiler), there are certain sequences of code that must be atomic with regards to async signals. So, for example, on x86, a single SUB on a memory location should be used, not a load/sub/store sequence. LLVM's IR doesn't currently have any way to express this kind of constraint (...and really, that's essentially impossible since
2012 Aug 11
2
compile fails with x86_64-alpine-linux-uclibc-gcc
...00 +0000 +++ src/include/Makefile.in 2010-06-15 18:19:48.000000000 +0000 @@ -81,7 +81,7 @@ Rmath.h0: $(srcdir)/Rmath.h0.in $(top_builddir)/config.status @cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ -install: installdirs install-intl- at USE_INCLUDED_LIBINTL@ +install: $(OBJ_HEADERS) installdirs install-intl- at USE_INCLUDED_LIBINTL@ @for d in $(SUBDIRS); do \ (cd $${d} && $(MAKE) $@) || exit 1; \ done -------------- next part -------------- Respect ldflags on rscript Patch by Sebastien Fabbro https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14506 --- src...