search for: gr4

Displaying 15 results from an estimated 15 matches for "gr4".

Did you mean: cr4
2004 Jun 22
3
[LLVMdev] Linearscan allocator bug?
...ter 1032 is assigned a value on line 140 (in shortcirc_next.0.selectcont): %reg1032 = move %reg103 After register allocation the code in shortcirc_done.1 is (line 334): %gr2 = move %gr6 the predecessor in at line 285 and the code in shortcirc_next.0.selectcont is (line 268) %gr4 = move %gr2 while I'd expect destination register should be gr6. In fact, gr6 is first used here (line 289): if <>0 goto %disp(label shortcirc_done.1) %gr2 = move %gr4 %gr5 = move %gr1 %gr6 = move %gr4 %gr1 = move %gr1 So, it's possible that jump goes to shortcirc_done...
2011 May 19
3
problem with optim()
...b[i] = p_tilde[i]*(res2.b[i]) } -(ncol(Y)*sum(res3)+sum(res3.b)) } $B!!(B ##### Gradiants: gr=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)] gr1 = rep(0,ncol(X)) gr4 = rep(0,ncol(Y)) gr3 = matrix(0,nrow=ncol(X),ncol=ncol(Y)) gr1.b = matrix(0,nrow=nrow(X),ncol=ncol(X)) gr2.b = rep(0,nrow(X)) eta = matrix(0,nrow=nrow(X),ncol=ncol(Y)) d.eta.3 = array(0,dim=c(nrow(X),ncol(X),ncol(Y))) d.eta.4 = matrix(0,nrow=nrow(X),ncol=ncol(Y)) gr3.b1 = array(0,dim=c(nrow(X),ncol...
2004 Jun 22
0
[LLVMdev] Linearscan allocator bug?
...need to tell the compiler that the conditional branches are terminators. You're getting code that looks like this: <LBB7> // // shortcirc_next.0.selectcont.selectcont gr1 = gr1; gr1 = gr1; gr5 = 0; gr2 - gr5; if <>0 goto LBB11; * gr2 = gr4; * gr5 = gr1; * gr6 = gr4; * gr1 = gr1; goto LBB8; I'm guessing that those copies are inserted by the register allocator, and in particular, that is probably where gr6 is supposed to get it's value. If you set the isTerminator flag on your 'if <>0 goto L...
2004 Nov 16
2
[LLVMdev] Target.td:Register changes
...definitions. 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 : Register<"gr4">; is a bit boring and it's very easy to make a mistake. How the names are used? - Volodya
2004 Nov 16
0
[LLVMdev] Target.td:Register changes
...d 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 : Register<"gr4">; > > is a bit boring and it's very easy to make a mistake. How the names are used? To be honest, I don't remember any more. :) I think it was a combination of this: 1. We would prefer tblgen definitions to be uppercase, but register names are of...
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, just wondering. - Volodya
2008 Jun 11
1
Problem when combining dotplot() and textplot() using grid
...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)), gr= rep(c("gr1", "gr2", "gr3", "gr4", "gr5"), 5), val=rnorm(25)) grid.newpage() pushViewport(viewport(layout = grid.layout(1, 2))) pushViewport(viewport(layout.pos.col=1, layout.pos.row=1)) p <- dotplot(f ~ val, groups=gr, xx, cex=1.7, pch=20) print(p, newpage=FALSE) popViewport(1) pushViewport(viewport(lay...
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 stored, and have it > automatically issue pushes/pops? I can live with current design, just > wonde...
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. > > > > Is there a way to tell LLVM which registers must be stored, and have it > > automatically issue pushes/pops? I can live with current des...
2004 Jul 01
3
[LLVMdev] Operand constraints
On my target, the multiplication can involve all general purpose registers, but there's are still some restrictions: the first and the second operand as well as the result must be in different registers, and neither register can be gr7. How can I enforce this restriction on the register allocator? - Volodya
2004 Oct 02
12
[Bug 938] "AllowGroups" option and secondary user's groups limit
...t mindrot.org ReportedBy: coil93 at mail.ee Linux Suse 9.1, nss_ldap version 215, pam_ldap version 169, openldap version 2. 2.17 OpenSSH can't handle more than 5 groups via pam_ldap authentication. For example: user john has primary group gr1 and belongs to secondary groups gr2,gr3,gr4,gr5 in LDAP database. sshd_config: AllowGroups 5 UsePAM yes /etc/pam.d/sshd auth required pam_unix2.so # set_secrpc auth required pam_nologin.so auth required pam_env.so account required pam_unix2.so account required pam_nologin.so password required...
2004 Jun 23
3
[LLVMdev] Linearscan allocator bug?
...al branches are terminators. You're getting code that looks like > this: > > <LBB7> // // shortcirc_next.0.selectcont.selectcont > gr1 = gr1; > gr1 = gr1; > gr5 = 0; > gr2 - gr5; > if <>0 goto LBB11; > * gr2 = gr4; > * gr5 = gr1; > * gr6 = gr4; > * gr1 = gr1; > goto LBB8; > > I'm guessing that those copies are inserted by the register allocator, and > in particular, that is probably where gr6 is supposed to get it's value. > If you set the isTerminato...
2004 Jun 09
0
[LLVMdev] Saving registers used by function
...t 05:26, Vladimir Prus wrote: > 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. > > > > > > Is there a way to tell LLVM which registers must be stored, and have it > > > automatically issue pushes/pops? I...
2009 Aug 02
3
[PATCH 1/4] drm/nouveau: refactor VGA font save/restore
...+ ioread32_native(iovram + i * 4); + } else { + iowrite32_native(dev_priv->saved_vga_font[plane][i], + iovram + i * 4); + } + } +} + void nouveau_hw_save_vga_fonts(struct drm_device *dev, bool save) { - struct drm_nouveau_private *dev_priv = dev->dev_private; uint8_t misc, gr4, gr5, gr6, seq2, seq4; bool graphicsmode; - int i; + unsigned plane; + void __iomem *iovram; if (nv_two_heads(dev)) NVSetOwner(dev, 0); @@ -552,10 +572,19 @@ nouveau_hw_save_vga_fonts(struct drm_device *dev, bool save) graphicsmode = NVReadVgaAttr(dev, 0, NV_CIO_AR_MODE_INDEX) & 1;...
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...kgt>R;qGVNnn%24m*&SLry at Pj4xU@wE;&?*_|I;a7Q`f%B3%=c zRJ*iqn&eib-OV&Z*W7PeYMu(7nrh4{1`|=YhZy_BBsSPPNuJG0o|8(9gSgq}G at o1v zz*YgkRt`X!kgsSEm<Dg-Lm}G?n=jshCSSEszJc4Wh_;LNE~IfaNxGKkFiG0e437y9 zl-Z%4DaOpqiCS1=nERZ$uxqB*Fa;{G<0zCpZv#bnTX}g~W%)nezC&nV)8&7IW+kta zZ<@G$Gr4^;rM=vHn at a7gTouOkADfJgEAj#+zf#tJ6u00@^dGwktN>su2k=MRN5V$@ zV8}kh7MSr<v at CJXCMw)SMcT(rEPSaZ8Xd^%No5Ce)PgV9f91t(6~)idJS at 6Ra3|52 zxGu&P^RJ7^;#0vVGwp;#F!<OU!xcoho{4Y+6X6L6lnNx$8)Ic&57t3j=uKSi at 28EY zU71#XxqpB7=TiFqaB at 9<*M}49!tMR7slIUMx-g{RCuwNdmH)xp=1|v4nRcGn%Wy5D zu&amp...