Closed 2over12 closed 1 year ago
The cbranch implementation loaded the original pc from the PC reg which on ARM points to the next next instruction, causing incorrect fallthrough. Changes CBRANCH to load from next-pc which points past the current instruction
The cbranch implementation loaded the original pc from the PC reg which on ARM points to the next next instruction, causing incorrect fallthrough. Changes CBRANCH to load from next-pc which points past the current instruction