search for: binstr

Displaying 2 results from an estimated 2 matches for "binstr".

Did you mean: instr
2008 Jul 16
1
[LLVMdev] atomic memoperand patch
...=================================================== --- lib/Target/X86/X86ISelLowering.cpp (revision 53702) +++ lib/Target/X86/X86ISelLowering.cpp (working copy) @@ -6010,7 +6010,9 @@ for (int i=0; i <= lastAddrIndx; ++i) (*MIB).addOperand(*argOpers[i]); MIB.addReg(t2); - + assert(bInstr->hasOneMemOperand() && "Unexpected number of memoperand"); + (*MIB).addMemOperand(*F, *bInstr->memoperands_begin()); + MIB = BuildMI(newMBB, TII->get(X86::MOV32rr), destOper.getReg()); MIB.addReg(X86::EAX); @@ -6107,6 +6109,8 @@ for (int i=0; i <= lastA...
2013 Feb 23
2
assign index to colnames(matrix)
...a for loop, but I don’t know how to interpret the error message. Suggestions? Thanks, Paul ==================================================== ====== instructions about dimnames(X)[[2]] = "X1","X2",... ======= ==================================================== function(binstr) { # makes formula for regression # must make sure dimnames(X)[[2]] = "X1","X2",... ind<-which(binstr==1) rht <- paste("X", ind, sep="", collapse="+") ans<-paste("y ~ ", rht) return(as.formula(ans)) } ###############...