search for: addop

Displaying 3 results from an estimated 3 matches for "addop".

Did you mean: addon
2009 Jul 24
9
getting extra characters with printf(copyin(a, b))
...one think of why this might be? It''s fine the first time all of the probes fire, but on a second run of my generating operations, I get junk in there. For example: set setop length 5, FOUND KEY, STORED set setop length 5, FOUND KEY, STORED get setop, FOUND KEY get nothere, NOT FOUND add addop, NOT FOUND add addop, NOT FOUND set replaceop length 9, FOUND KEY, STORED replace replaceop, FOUND KEY set anumber length 7, FOUND KEY, STORED incr anumber, FOUND KEY, 101 decr anumber, FOUND KEY, 100 set setopceoreplaceop length 5, FOUND KEY, STORED set setop length 5, FOUND KEY, STORED get setop...
2003 Nov 21
2
[LLVMdev] Need Help With Verifier
...n from a higher level in the compiler's call sequence. void StackerCompiler::incr_stack_index( BasicBlock* bb ) { ConstantInt* ival = ConstantInt::get(Type::LongTy, 1); LoadInst* loadop = new LoadInst( TheIndex ); bb->getInstList().push_back( loadop ); BinaryOperator* addop = BinaryOperator::create( Instruction::Add, loadop, ival); bb->getInstList().push_back( addop ); StoreInst* storeop = new StoreInst( addop, TheIndex ); bb->getInstList().push_back( storeop ); }...
2015 Feb 20
10
[PATCH 01/11] nvc0/ir: add emission of dadd/dmul/dmad opcodes, fix minmax
...rt(i->encSize == 8); + emitForm_A(i, HEX64(48000000, 00000001)); + roundMode_A(i); + assert(!i->saturate); + assert(!i->ftz); + emitNegAbs12(i); + if (i->op == OP_SUB) + code[0] ^= 1 << 8; +} + +void CodeEmitterNVC0::emitUADD(const Instruction *i) { uint32_t addOp = 0; @@ -895,6 +947,8 @@ CodeEmitterNVC0::emitMINMAX(const Instruction *i) else if (!isFloatType(i->dType)) op |= isSignedType(i->dType) ? 0x23 : 0x03; + if (i->dType == TYPE_F64) + op |= 0x01; emitForm_A(i, op); emitNegAbs12(i); @@ -2242,20 +2296,26 @@ Code...