Patch ppc: fix mtfsfi
Hi,
according to PPC documentation the IMM field (of mtfsfi instruction) is on bits 16-19 (BE order), ie bits 12-15.
The macro FPIMM was wrongly defined. This patch fixes it.
Tristan.
translate.c +1 -1
@@ -362,7 +362,7 @@EXTRACT_HELPER (CRM ,12 ,8 );EXTRACT_HELPER (FM ,17 ,8 );EXTRACT_HELPER (SR ,16 ,4 ); -EXTRACT_HELPER (FPIMM ,20 ,4 ); +EXTRACT_HELPER (FPIMM ,12 ,4 );/*** Jump target decoding ***/ /* Displacement */