target-mips: Remove semicolon from macro definition
authorStefan Weil <sw@weilnetz.de>
Sat, 22 Dec 2012 12:38:19 +0000 (13:38 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 1 Jan 2013 10:16:02 +0000 (11:16 +0100)
Macro RESTORE_FLUSH_MODE is similar to RESTORE_ROUNDING_MODE
but included a semicolon.

The code which uses that macro also includes a semicolon,
so the result was an empty statement.

Remove the superfluous semicolon from the macro definition.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-mips/op_helper.c

index e85edce6faa8c99e7a30e8e76c7548ec6877f7c8..e3ab05cbb0ccee12caf6aeb586d83f90fc07847e 100644 (file)
@@ -2175,7 +2175,7 @@ static unsigned int ieee_rm[] = {
     set_float_rounding_mode(ieee_rm[env->active_fpu.fcr31 & 3], &env->active_fpu.fp_status)
 
 #define RESTORE_FLUSH_MODE \
-    set_flush_to_zero((env->active_fpu.fcr31 & (1 << 24)) != 0, &env->active_fpu.fp_status);
+    set_flush_to_zero((env->active_fpu.fcr31 & (1 << 24)) != 0, &env->active_fpu.fp_status)
 
 target_ulong helper_cfc1(CPUMIPSState *env, uint32_t reg)
 {