Skip to content

Commit

Permalink
target-mips: Remove semicolon from macro definition
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
stweil authored and aurel32 committed Jan 1, 2013
1 parent b8abbbe commit 79eb839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target-mips/op_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 79eb839

Please sign in to comment.