Skip to content
Commit 86c45b7e authored by Dino Li's avatar Dino Li Committed by Carles Cufí
Browse files

soc: it8xxx2: The "M" extension is disabled by default



There is a mul instruction bug.
The bug may cause instructions of writing back CPU GPR (e.g mv a0,s2)
which following the mul instruction to fail.
This patch disables the 'M' extension and overwrite integer
multiplication and division arithmetic library routines with using
hardware multiplication and division and nop instructions.
This will ensure that there is no write back GPR instruction to follow
mul instruction to avoid the bug.

Signed-off-by: default avatarDino Li <Dino.Li@ite.com.tw>
parent bf21e849
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment