Displaying 1 result from an estimated 1 matches for "arithf2".
Did you mean:
arith
2011 Mar 15
3
[LLVMdev] mblaze backend: unreachable executed
...elease. I added code to emit an fneg assembly instruction and now I'm getting "UNREACHABLE executed!" when trying to compile the code. The only change I made was to add the following two lines next to the square root lines in the code (FPU and sqrt are enabled in llc):
def FSQRT : ArithF2<0x16, 0x300, "fsqrt ", IIAlu>;
def FNEG : ArithF2<0x16, 0x300, "fneg ", IIAlu>; // added for fneg
and
def : Pat<(fsqrt FGR32:$V), (FSQRT FGR32:$V)>;
def : Pat<(fneg FGR32:$V), (FNEG FGR32:$V)>; // added for fneg
Does anyone know what common...