The embodiment of the invention provides an exception
processing method and device,
electronic equipment and a readable storage medium. If a target exception is triggered when a target platform executes a target instruction, a target exception
signal is generated, and an exception
processing function corresponding to the target platform is called; the target instruction is obtained by performing
binary translation on a current instruction in the source platform; based on the
exception handling function, determining an exception type corresponding to the target exception
signal; and under the condition that the exception type is a specified type, correcting an instruction operation result corresponding to the target instruction, and continuing to execute a subsequent instruction of the target instruction. Therefore, when
floating point exceptions occur, the target exception
signal is generated on the target platform, and the
exception handling function is called for checking and handling, and compared with the prior art, the method and the device have the advantages that by changing the triggering mode of
floating point exception checking, the number of times of executing exception checking is reduced, the program running overhead is reduced, and the program running efficiency is improved. And meanwhile, the program running efficiency is improved.