OSDN Git Service

target-mips: Tighten ISA level checks
authorMaciej W. Rozycki <macro@codesourcery.com>
Fri, 5 Dec 2014 18:47:58 +0000 (18:47 +0000)
committerLeon Alrae <leon.alrae@imgtec.com>
Tue, 16 Dec 2014 12:45:20 +0000 (12:45 +0000)
commitd9224450208e0de62323b64ace91f98bc31d6e2c
tree164e68e82fdd913662ed2c131dc173b2bc92e965
parent90f12d735d66ac1196d9a2bced039a432eefc03d
target-mips: Tighten ISA level checks

Tighten ISA level checks down to MIPS II that many of our instructions
are missing.  Also make sure any 64-bit instruction enables are only
applied to 64-bit processors, that is ones that implement at least the
MIPS III ISA.

Signed-off-by: Maciej W. Rozycki <macro@codesourcery.com>
Reviewed-by: Leon Alrae <leon.alrae@imgtec.com>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
target-mips/cpu.h
target-mips/helper.c
target-mips/translate.c