DeepFM Inference (Error on the Faulty Node)

  1. Locate the faulty operator and instruction.

    The operator for which an error is reported is gather_v2. Locate the specific error based on the corresponding error instruction (current_pc points to 1ac and the latest vector instruction is found).

  2. Based on the CCE analysis, no error is found in the input parameters (such as offset and burst_length) of the instruction. It is preliminarily determined that the error is not caused by the operator logic.
  3. Conduct cause analysis.

    Read the register and UB data. Based on the decompilation file, obtain the value of the X6 register, and use this value as the start address to read the UB data. It is found that the data is invalid. Then, use the second input of the gather_v2 operator as the index, and obtain the data in the corresponding position of the first input based on the index. It is found that the actually obtained index value exceeds the maximum position of the first input value. As a result, an offset out-of-range access occurs.