Displaying 1 result from an estimated 1 matches for "initacc".
Did you mean:
initacct
2012 Nov 23
0
[LLVMdev] Schedule MAC instructions
Hello LLVMdev,
Our processor has mac (multiply and accumulate) instructions which takes
the accumulator register (acc) as an implicit operand. This is different
from typical three or four operands mac instructions. As an illustration,
the following instructions compute a + b x c + e x f + g *h.
initacc a //initialize the accumulator register
fmac b c
fmac e f
fmac g h
mfacc i //move result from the accumulator
register to register i
A straightforward implementation is to find the patterns in selectionDAG
and turn them into mac instructions cha...