target-sparc: Fix order of function parameters
commitf37e2a6bb3ee440219a7724722e8c0363cd5dc2e
authorStefan Weil <sw@weilnetz.de>
Mon, 24 Oct 2011 20:29:48 +0000 (24 22:29 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Tue, 25 Oct 2011 19:30:00 +0000 (25 19:30 +0000)
treee62f624b58ba36846fee572d7b2d24befd92f502
parentba43d28916c4f51c19bd7366089155ce81bee058
target-sparc: Fix order of function parameters

The MinGW-w64 gcc complains about wrong parameters for
gen_helper_fpadd16_s and three other functions.

gen_helper_fpadd16_s is declared like this (hidden in lots of macros):

static inline void
 gen_helper_fpadd16s(TCGv_i32 retval, TCGv_ptr arg1,
                     TCGv_i32 arg2, TCGv_i32 arg3);

So it looks like cpu_env should be the 2nd parameter.

Please review this patch as I have no environment to test it
(maybe the 1st parameter should be cpu_dst?).

Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-sparc/translate.c