Lib/Target/instr/Mnemonics.cpp
/**
 * SFU functions always write to ACC4
 * Also 2 NOP's required; TODO see this can be optimized
 */
SFU functions always write to ACC4
Also 2 NOP's required; TODO see this can be optimized
SFU functions always write to ACC4 Also 2 NOP ' s required ; TODO see this can be optimized
Instr::List sfu_function(Var dst, Var srcA, Reg const &sfu_reg, const char *label) {
  using namespace V3DLib::Target::instr;
  std::string cmt = "SFU function ";
  cmt << label;
  Instr nop;
  Instr::List ret;
  ret << mov(sfu_reg, srcA).comment(cmt)
      << nop
      << nop
      << mov(dst, ACC4);
  return ret;
}
Instr :: List sfu_function ( Var dst , Var srcA , Reg const & sfu_reg , const char * label ) { using namespace V3DLib :: Target :: instr ; std :: string cmt = " " ; cmt << label ; Instr nop ; Instr :: List ret ; ret << mov ( sfu_reg , srcA ) . comment ( cmt ) << nop << nop << mov ( dst , ACC4 ) ; return ret ; }
SFU functions always write to ACC4
 Also 2 NOP's required; TODO see this can be optimized
SFU functions always write to ACC4 Also 2 NOP ' s required ; TODO see this can be optimized