Displaying 20 results from an estimated 5000 matches similar to: "[LLVMdev] CodeGen issue with atomic_load_n"
2009 Feb 24
2
Error going through the "Getting Started" tutorial
Hi,
I get this error on step 9 of the Getting Started tutorial:
NoMethodError in PostsController#index
undefined method `accepts_nested_attributes_for'' for #<Class:
0x23fbc48>
Does someone know if it''s a bug?
Cheers,
Beren
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on
2020 Aug 16
0
How about API calls?
This project has interested me for a very long time, and for a number of
reasons. My current use requirement causes me to create my own linux image
using buildroot, and then use a json syntax Curl to my couchdb api. What am
I trying to do? Well, in the testing of equipment in an ITAD setting, what
happens is, we collect recycled equipment, and we want to put each item on
a desk and network boot
2016 Mar 15
2
Redundant load in llvm's codegen compares to gcc when accessing escaped pointer?
Hi,
Please look at this c code:
typedef struct _PB {
void* data; /* required.*/
int f1_;
float f2_;
} PB;
PB** bar(PB** t);
void qux(PB* c) {
bar(&c); /* c is escaped because of bar */
c->f1_ = 0;
c->f2_ = 0.f;
}
// gcc-5.2.1 with -fno-strict-aliasing -O2 on x86
call bar
movq 8(%rsp), %rax
movl $0, 8(%rax)
movl $0x00000000, 12(%rax)
// llvm
2011 Apr 14
2
[LLVMdev] [x86 codegen] 3DNow! intrinsics not behaving as expected.
I finally got all of the 3DNow! instruction intrinsics and builtins
into LLVM and Clang, however, while testing them, I've noticed that
they produce incorrect results.
For example:
typedef float V2f __attribute__((vector_size(8)));
int main() {
V2f dest, a = {1.0, 3.0}, b = {10.0, 3.5};
dest = __builtin_ia32_pfadd(a, b);
printf("(%f, %f)\n", dest[0], dest[1]);
}
Should
2016 Mar 18
3
Redundant load in llvm's codegen compares to gcc when accessing escaped pointer?
On 2016.03.17 at 16:35 -0700, Chris Lattner via llvm-dev wrote:
>
> > On Mar 15, 2016, at 7:58 AM, Chuang-Yu Cheng via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> >
> > Hi,
> >
> > Please look at this c code:
> >
> > typedef struct _PB {
> > void* data; /* required.*/
> > int f1_;
> > float f2_;
> > } PB;
2016 Mar 19
2
Redundant load in llvm's codegen compares to gcc when accessing escaped pointer?
Agree, and I did : )
Please refer to this mailing list:
https://gcc.gnu.org/ml/gcc/2016-03/msg00179.html
On Sat, Mar 19, 2016 at 1:25 AM, Daniel Berlin <dberlin at dberlin.org> wrote:
> I suspect you should just go ask #1 on the gcc mailing list and see what
> the answer is.
> We are basically trying to figure out their reasoning, but we should
> instead just go ask what it is
2016 Mar 18
4
Redundant load in llvm's codegen compares to gcc when accessing escaped pointer?
1. Same question as David, why &c - 8 is invalid? Is it related to below
statements In C99 standard?
6.5.3.3:
"Among the invalid values for dereferencing a pointer by the unary *
operator are a null pointer, an
address inappropriately aligned for the type of object pointed to, and the
address of an object after the
end of its lifetime."
2. We are trying to preserve 1st load and
2011 May 14
3
Problems building wine 1.3.20 on Mac os x 10.6.7
Hi all,
I have been trying to build wine from source on my imac, but I encountered errors that I have no idea how to fix [Crying or Very sad]
I configured with:
Code:
./configure CPPFLAGS='-I/usr/X11/include -I/opt/local/include' LIBS='-lGL -lGLU' LDFLAGS='-L/usr/X11/lib -L/opt/local/lib'
I installed the dependencies for wine with MacPorts (hence the /opt/local).
2007 Nov 06
1
[LLVMdev] Two labels around one instruction in Codegen
Duncan Sands wrote:
> Hi Nicolas,
>
>
>> In order to have exceptions for non-call instructions (such as sdiv,
>> load or stores), I'm modifying codegen so that it generates a BeginLabel
>> and an EndLabel between the "may throwing" instruction. This is what the
>> codegen of an InvokeInst does.
>>
>
> the rule is that all
2013 Nov 19
2
Communicate with barge agent
HI folks,
I have set a barging facility with our production box.Client able to barge
a agent but client raise a requirement, they want talk to barge agent but
that communication is not listen by customer. It is possible with asterisk
or not.
thanks in advance.
Regards
Akhilesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2013 Jun 17
0
[LLVMdev] [cfe-dev] [RFC] add Function Attribute to disable optimization
On Mon, Jun 17, 2013 at 6:23 PM, Sean Silva <silvas at purdue.edu> wrote:
> On Mon, Jun 17, 2013 at 10:29 AM, Jeffrey Walton <noloader at gmail.com> wrote:
>> First is to ensure dead-writes are not removed. For example, a
>> function that zeroizes or wipes memory is subject to removal during
>> optimization. I often have to look at program's disassembly to
2006 Mar 09
3
Need help PLEASE!!! - updating collection from form
Greetings!
I''m trying to update a set of records from the same model on one form. The AWD book gives an example on p.356 but I guess I''m not understanding it.
I can see from the error message I''m getting that the controller is receiving a hash of hashes back from the view, and that it''s got the stuff I expected (two values per record that was sent to the
2004 Dec 17
1
h323 channel compile error
Hi,
Can anyone help? I get the following error when trying to complie the h323 channel under the source installation directory
asterisk/channels/h323
i have read the readme file and kept to the recomended versions; h.323 v1.12.2 and PWLIB v1.5.2
Thanks in advance
[root@gw01 h323]# make
g++ -g -c -fno-rtti -o ast_h323.o -march=i686 -DPBYTE_ORDER=PLITTLE_ENDIAN -DNDE
BUG -DDO_CRASH
2007 Nov 06
0
[LLVMdev] Two labels around one instruction in Codegen
Hi Nicolas,
> In order to have exceptions for non-call instructions (such as sdiv,
> load or stores), I'm modifying codegen so that it generates a BeginLabel
> and an EndLabel between the "may throwing" instruction. This is what the
> codegen of an InvokeInst does.
the rule is that all instructions between eh begin labelN and eh end labelN
must unwind to the same
2006 Mar 09
3
problem with find()
I''m trying to update records in a table based on data I get back from a form.
In the simplest case, the params structure returned from the form is:
{"illness"=>{"1"=>{"illness_date"=>"", "qualifier"=>""}}}
The controller code works (i.e., updates the first record) when I do the following:
params[:illness].each do
2012 Oct 02
1
[LLVMdev] Error prone default memory capturing convention of blocks.
Hi guys,
I've been using blocks for a while and found that current behavior is error prone. So I am going to propose to you the better one.
Motivation:
1) The __weak variables in blocks are very common pattern. So having any implicit default behavior makes thing worse.
2) Some stupid mistakes like:
__weak typeof (self) theSelf = self;
...^ {
theSelf.blabla = ..
....
[self blabla];
2005 Aug 31
2
[LLVMdev] Anyone is building a DSP-C frontend?
fixed-point number could be stored in LLVM first class integer types.
i cannot see the problem now. but to be type-safe, there should be a
first class 'fixed'.
some llvm extensions required to mapping dsp-c lanaguages could be
implemented as qualifiers.
1. _sat qualifier
Saturate the result within [0.0, +1.0> or [-1.0,+1.0> (unsigned/singed).
sat signed fixed a;
sat signed fixed
2010 Feb 23
2
[LLVMdev] Build problem in current svn
I'm trying to build LLVM on OPENBSD current with today's svn (feb 23),
and it fails to build with the following errors:
llvm[2]: Compiling ELFWriter.cpp for Release build
In file included from ELFWriter.cpp:51:
/root/llvm/include/llvm/Target/TargetLoweringObjectFile.h:345: error:
virtual outside class declaration
/root/llvm/include/llvm/Target/TargetLoweringObjectFile.h:345: error:
2003 Sep 07
1
Problem Installing Open H.323 Channel Driver
Hi,
I am having trouble installing the Open H.323 Channel driver in Asterisk. I
have installed PWLib and OpenH323 V.1.11.7
This is the output l get before it bails out.
asterisk:/usr/src/asterisk/channels/h323# make
g++ -g -c -o ast_h323.o -march=i686 -DPBYTE_ORDER=PLITTLE_ENDIAN -DNDEBUG
-DDO_CRASH -DDEBUG_THREADS -pipe -Wall -fPIC -Wmissing-prototypes
-Wmissing-declarations -DP_LINUX
2007 Nov 11
0
[LLVMdev] C embedded extensions and LLVM
On Nov 10, 2007, at 11:07 PM, Christopher Lamb wrote:
> I've been playing around with clang/LLVM looking at adding partial
> support for the draft technical report for embedded C extensions
> (TR18037, http://www.open-std.org/jtc1/sc22/wg14/www/docs/
> n1169.pdf), specifically named address spaces.
>
> Named address spaces need to be tracked in LLVM in essentially all