target-mips: define constants for magic numbers
commitbf4120adaabb540fe66742b4d26cac69713af0c1
authorNathan Froyd <froydnj@codesourcery.com>
Tue, 8 Jun 2010 20:29:56 +0000 (8 13:29 -0700)
committerAurelien Jarno <aurelien@aurel32.net>
Wed, 9 Jun 2010 14:10:50 +0000 (9 16:10 +0200)
tree7410c60bb54d34f2859f8d6613b1544df99ba794
parentc61aaf7a388c4ad95d8b546fdb9267dc01183317
target-mips: define constants for magic numbers

Add FMT_* constants for the floating-point format field in opcodes and
tweak a few places to use them.  Add enums for various invocations of
FOP and tweak gen_farith and its lone caller accordingly.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-mips/translate.c