similar to: [LLVMdev] [RFC] Poor code generation for paired load

Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] [RFC] Poor code generation for paired load"

2013 Aug 12
2
[LLVMdev] [RFC] Poor code generation for paired load
Hi Eli, Thanks for the feedbacks. On Aug 9, 2013, at 8:00 PM, Eli Friedman <eli.friedman at gmail.com> wrote: > On Fri, Aug 9, 2013 at 4:58 PM, Quentin Colombet <qcolombet at apple.com> wrote: >> Hi, >> >> I am investigating a poor code generation on x86-64 involving a 64-bits >> structure with two 32-bits fields (in the attached examples float, but
2013 Aug 10
0
[LLVMdev] [RFC] Poor code generation for paired load
On Fri, Aug 9, 2013 at 4:58 PM, Quentin Colombet <qcolombet at apple.com> wrote: > Hi, > > I am investigating a poor code generation on x86-64 involving a 64-bits > structure with two 32-bits fields (in the attached examples float, but > similar behavior is exposed with i32, and we can probably generalize that to > smaller types too). > The root cause of the problem is
2013 Aug 12
0
[LLVMdev] [RFC] Poor code generation for paired load
On Mon, Aug 12, 2013 at 9:59 AM, Quentin Colombet <qcolombet at apple.com> wrote: > Hi Eli, > > Thanks for the feedbacks. > > On Aug 9, 2013, at 8:00 PM, Eli Friedman <eli.friedman at gmail.com> wrote: > > On Fri, Aug 9, 2013 at 4:58 PM, Quentin Colombet <qcolombet at apple.com> > wrote: > > Hi, > > I am investigating a poor code generation on
2009 Jan 16
3
rspec model testing - test on user defined validation- How do I test that the create failed.
I''m new to rspec and looking for way to test a validation I added to a model. The test checks to see that if field1 has a value then field2 must be nil and vice versa. ------------------------------- When I did the rspec_scaffold it generated one test which worked before :each do @valid_attributes = { :field1 = "value for field1" :field2 = "value for
2006 Aug 10
4
I need "validates_presence_of" help
Hi - I have 3 fileds a user can fill out. They can fill out 2 of them or just one of them, for example. fill out these 2 fields: Field1 and Field2 Or fill out this field: Field3 In my model how do I use validates_presence_of for Field1 and Field2 or just Field3. I want to do something like this: validates_presence_of Field1, Field2 OR validates_presence_of Field3 So the user can fill out
2006 Jan 13
4
How to add virtual fields in model
I want to add virtual fields in a model. table: field1 field2 I want to add field3 which is field1*2 + field2 I know tihs can be achieved in View, but I want it in model. Then I will pass this model to PagerRenderer to paginate. How to achieve this? thanks -- Posted via http://www.ruby-forum.com/.
2007 Jul 16
2
Field initialization order bug?
I believe that I may have found a bug in R. The top code sample gives an error as shown. However, by simply switching which field is initialized first as in the bottom code sample, it works as expected. This gives an error: a <- NULL a[["field1"]] <- 1 a[["field2"]] <- matrix(c(2,1), 1) Error in a[["field2"]] <- matrix(c(2, 1), 1) : more elements
2009 Aug 15
4
How to use R to perform prediction based on history data
Say I have a csv file, each row contains several fields, one of them are whether the row is success. In history data, I have all the fields including the result of whether it is success. In future data, I only have fields without the result. For example: history data: Field1 Field2 Field3 Field4 ResultField 1231 CA TRUE 443 TRUE 23231 NC TRUE 123 FALSE
2006 Mar 21
1
Form Validation
Hi, I''ve got an interesting one here :) I have a form with three fields : serial_number initial surname now, if serial_number is entered, it must be between 1 and 64000. If it''s filled in, the other two fields must be blank. If serial_number is left blank then the other two boxes must be filled. Any suggestions? -- Posted via http://www.ruby-forum.com/.
2005 Dec 30
2
help on submit_to_remote
hi, read the API doc and made search with google but can''t get a precise explanation on how submit_to_remote work. can someone help on that? thanks
2007 Feb 23
2
bug with boolean query evaluation containing parenthesis and NOT ?
Hi, The following [simplified] query works well, however a variation which includes parenthesis seems to fail, in that it returns hits which should be excluded by the NOT term. This is surprising because in this simple case, the parenthesis shouldn''t change the Boolean evaluation ... any pointers? Working Query: field1:value1 AND NOT field2:value2 Failing Query: field1:value1 AND
2009 Sep 10
2
tranform a table?
hello everyone, i'm new to R, so i hope you dont mind a fairly basic R question. we're using R to manipulate the results of SQL queries and create an HTML output. I'm starting with a table that looks essentially like this: Name Field1 Field2 John value1 value2 Jane value3 value4 My table is stored as a dataframe. I'd like to efficiently produce an
2008 May 29
2
how to use substring match as condition?
Hi, How can I use a substring match as a condition in a subset command? Sth like this: subset(input, field1=="blah1" & field2=="blah2") # but now with substring match in field2 subset(input, field1=="blah1" & field3 *substringmatch* "blah3") I've tried with gsub, but it won't work: subset(input, field1=="blah1" &
2007 May 12
1
Newbie's question
Hi guys, I've brand new to the R scene. I have hundreds of csv files that has field 1 ,YYYY/MM/DD as index How to generate a graph of distribution and calculate the standard deviation of field2 for all of the files in a directory? I'm wondering if R could do this. Thanks a lot. -- View this message in context: http://www.nabble.com/Newbie%27s-question-tf3730746.html#a10442845 Sent from
2011 Oct 05
1
Weird behaviour of tab characters in a string in R (vs Python)
Hello, I wanted to parse some information from a text, where fields are tab separated. When I copy the text into an R session (under emacs) like: mystring <- "field1 field2 field3" the tab character is replaced by a single space! For ex, if I type mystring, I get: "field1 field2 field3" The tabs have disappeared!!! I checked with Python that the text I copied was tab
2006 Jun 15
10
Finding out all terms from search results. How?
Hi everybody, I need to find out all terms (field values) from one of the fields from a set of documents returned by search. In other words, I have indexed documents with two fields. I do search on one field and then want to know all other field''s values from fount documents. How? -- Sergei Serdyuk Red Leaf Software LLC web: http://redleafsoft.com -- Posted via
2007 Feb 17
1
Conditional data frame manipulation
Hi all, My current project brought forth the snippet below, which modifies in each row of a data frame a certain field depending on another field in the same row. Dealing with data of some 30000 entries this works, but is horribly slow. Can anyone show this newbie how to do this properly (faster ;0)? for (i in 1:nrow(dataframe)){ if
2016 Mar 16
3
RFC: A change in InstCombine canonical form
=== PROBLEM === (See this bug https://llvm.org/bugs/show_bug.cgi?id=26445) IR contains code for loading a float from float * and storing it to a float * address. After canonicalization of load in InstCombine [1], new bitcasts are added to the IR (see bottom of the email for code samples). This prevents select speculation in SROA to work. Also after SROA we have bitcasts from int32 to float.
2017 May 09
3
RFC: SROA for method argument
Hi, I am working to improve SROA to generate better code when a method has a struct in its arguments. I would appreciate it if I could have any suggestions or comments on how I can best proceed with this optimization. * Problem * I observed that LLVM often generates redundant instructions around glibc’s istreambuf_iterator. The problem comes from the scalar replacement (SROA) for methods with an
2013 Jan 18
2
[LLVMdev] Weird volatile propagation ?
Hi All, Using clang+llvm at head, I noticed a weird behaviour with the following reduced testcase : $ cat test.c #include <stdint.h> struct R { uint16_t a; uint16_t b; }; volatile struct R * const addr = (volatile struct R *) 416; void test(uint16_t a) { struct R r = { a, 1 }; *addr = r; } $ clang -O2 -o - -emit-llvm -S -c test.c ; ModuleID = 'test.c' target