Displaying 20 results from an estimated 400 matches similar to: "[LLVMdev] Target.td:Register changes"
2004 Nov 16
0
[LLVMdev] Target.td:Register changes
On Tue, 16 Nov 2004, Vladimir Prus wrote:
> and I could not find any discussions in the archives.
>
> Why the change was necessary? Writing:
>
> def gr0 : Register<"gr0">;
> def gr1 : Register<"gr1">;
> def gr2 : Register<"gr2">;
> def gr3 : Register<"gr3">;
> def gr4 :
2004 Jun 22
3
[LLVMdev] Linearscan allocator bug?
Folks,
I'm running into something which looks like a bug in linearscan allocator. Of
course I can't be 100% sure it's not some unobvious mistake on my part, so
I'd like to hear your opinion.
First, I attach two files -- LLVM asm and the asm for my target. The problem
with assembler is: on line 171 it uses register gr2, which is copied from gr6
above, on line 161. The only
2011 May 19
3
problem with optim()
Dear R-users,
I would like to maximize the function g above which depends on 4 parameters (2 vectors, 1 real number, and 1 matrix) using optim() and BFGS method. Here is my code:
# fonction to maximize
g=function(x)
{
x1 = x[1:ncol(X)]
x2 = x[(ncol(X)+1)]
x3 = matrix(x[(ncol(X)+2):(ncol(X)+1+ncol(X)*ncol(Y))],nrow=ncol(X),ncol=ncol(Y))
x4 = x[(ncol(X)+1+ncol(X)*ncol(Y)+1):length(x)]
2008 Jun 11
1
Problem when combining dotplot() and textplot() using grid
Hi everyone.
I want to solve the following problem. I have a data.frame and I
create a dotplot using lattice.
Then I want to use the grid-package to create a combined graphic which
contains the dotplot as well as a textplot() (using package gplots) of
the data.frame next to the dotplot.
Example code:
library(lattice)
library(grid)
library(gplots)
xx <- data.frame(f=factor(rep(1:5, each=5)),
2007 Feb 06
1
Questions on counts by case
Hi all,
for the data below I would like to
1. generate a dummy variable for each group "gr" of the same composition by
people, then save each portion in a separate file,
2. compute the frequency of "1"'s in "x" for each person by group
"gr". So, "mike" will have freq=2/3, as he has two "1" and one "0" in 3
groups.
2004 Jun 22
0
[LLVMdev] Linearscan allocator bug?
On Tue, 22 Jun 2004, Vladimir Prus wrote:
> First, I attach two files -- LLVM asm and the asm for my target. The problem
> with assembler is: on line 171 it uses register gr2, which is copied from gr6
> above, on line 161. The only predecessor of this basic block is jump on line
> 90. The problem is that gr6 is not initialized in the interval from the
> function entry till the
2024 May 24
1
dplyr, group_by and selective action according to each group
Dear RHelp-list,
?? Using dplyr and the group_by approach on a dataframe, I want to be
able to apply a specific action according to the group name. The code
bellow works, but I am not able to write it in a more esthetic way using
dplyr. Can somebody help me to find a better solution ?
Thank you
Best regards
Laurent
df_test <- data.frame( x1=1:9, x2=1:9,
2024 May 24
1
dplyr, group_by and selective action according to each group
Laurent:
As I don't use dplyr, this won't help you, but I hope you and others may
find it entertaining anyway.
If I understand you correctly (and ignore this if I have not), there are a
ton of ways to do this in base R, including using switch() along the lines
you noted in your post. However, when the functions get sufficiently
complicated or numerous, it may be useful to store them in a
2024 May 25
1
dplyr, group_by and selective action according to each group
Although there may well be many ways to do what is being asked for with the tidyverse, sometimes things are simple enough to do the old-fashioned way.
The request seems to have been to do something to all rows in ONE specific group but was phrased in the sense of wanting to know which group your functionality is being called in.
What grouping gains you is more worthwhile if you are interested in
2004 Jun 09
0
[LLVMdev] BranchInst problem
On Wed, 9 Jun 2004, Vladimir Prus wrote:
> > I assume that the two unconditional gotos are just test code, right? If
> > not, the second one is dead.
>
> Yes, in the final form there will be "iflt" instruction before the first goto,
> making it conditional.
Ah, ok :)
> > > The code after "goto" is disturbing. It looks like spill code, but
2004 Jun 09
2
[LLVMdev] BranchInst problem
Chris Lattner wrote:
> On Tue, 8 Jun 2004, Vladimir Prus wrote:
> > While adding support for branch instructions in my backend, I run into a
> > trouble. The code to handle branches looks like:
> > The machine code after instruction selection is:
> >
> > entry (0x8681458):
> > %reg1024 = load <fi#-1>
> > %reg1025 = load
2008 Sep 02
2
two lattice graphs in one object
When I create a lattice/Trellis type graph, I typically write a function that returns the graph, as in
do.graph <- function(x, y, ...)
{
require(lattice)
return(xyplot(y~x, ...))
}
My question today is this:
If I want two graphs on one page, one way of achieving it is to print the objects into defined areas, as in
gr1 <- xyplot(rnorm(111) ~ runif(111))
gr2 <-
2004 Jun 09
2
[LLVMdev] Saving registers used by function
Hello!
Is there an (semi)automatic way to save registers used by a function? For
example, on my target I have to store ar0-ar4 and gr0-gr4, gr5, gr6. For now
I just emit huge prologue code to push them all to stack -- even if they are
not modified at all.
Is there a way to tell LLVM which registers must be stored, and have it
automatically issue pushes/pops? I can live with current design,
2004 Oct 02
12
[Bug 938] "AllowGroups" option and secondary user's groups limit
http://bugzilla.mindrot.org/show_bug.cgi?id=938
Summary: "AllowGroups" option and secondary user's groups limit
Product: Portable OpenSSH
Version: 3.9p1
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: PAM support
AssignedTo: openssh-bugs at
2004 Jun 23
3
[LLVMdev] Linearscan allocator bug?
Chris Lattner wrote:
> On Tue, 22 Jun 2004, Vladimir Prus wrote:
> > First, I attach two files -- LLVM asm and the asm for my target. The
> > problem with assembler is: on line 171 it uses register gr2, which is
> > copied from gr6 above, on line 161. The only predecessor of this basic
> > block is jump on line 90. The problem is that gr6 is not initialized in
> >
2004 Jun 08
2
[LLVMdev] BranchInst problem
While adding support for branch instructions in my backend, I run into a
trouble. The code to handle branches looks like:
void visitBranchInst(BranchInst& BI)
{
BB->addSuccessor (MBBMap[BI.getSuccessor(0)]);
if (BI.isConditional())
BB->addSuccessor (MBBMap[BI.getSuccessor(1)]);
...........
BuildMI(BB,
2012 May 02
1
Hmisc's latex: na.blank and grouping not working as expected
Dear expeRts,
Why does na.blank=TRUE not replace the NA's in the following LaTeX table?
x <- matrix(1:72, ncol=4, nrow=8)
colnames(x) <- c("gr1.sgr1", "gr1.sgr2", "gr2.sgr1", "gr2.sgr2")
rn <- apply(expand.grid(beta=c(0.25, 0.75), n=c(100, 500), d=c(10, 100))[, 3:1], 2, rmNames)
x <- cbind(rn, x) # append columns containing the row labels
2008 Jun 19
5
R web site-Useability & finding varous bits of documentation
I was starting to write a note to a prospective R-user and came to the point of explaining how to get useful introductory information on R.
After mentioning the Into and the FAQs I went on to try to explain how to use a lot of the contributed information.
However I realised that there seems to be no direct way to get to Other Publications or Contributed Documenation.
The best I have seen is
2004 Jun 09
0
[LLVMdev] Saving registers used by function
On Wed, 2004-06-09 at 04:56, Vladimir Prus wrote:
> Hello!
> Is there an (semi)automatic way to save registers used by a function? For
> example, on my target I have to store ar0-ar4 and gr0-gr4, gr5, gr6. For now
> I just emit huge prologue code to push them all to stack -- even if they are
> not modified at all.
>
> Is there a way to tell LLVM which registers must be
2004 Jun 09
2
[LLVMdev] Saving registers used by function
Alkis Evlogimenos wrote:
> On Wed, 2004-06-09 at 04:56, Vladimir Prus wrote:
> > Hello!
> > Is there an (semi)automatic way to save registers used by a function? For
> > example, on my target I have to store ar0-ar4 and gr0-gr4, gr5, gr6. For
> > now I just emit huge prologue code to push them all to stack -- even if
> > they are not modified at all.
> >
>