target-sparc: Add compiler attribute to some functions which don't return
helper_raise_exception does not return, nor does do_unaligned_access. Cc: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
59821ae802
commit
bc09845431
@ -699,8 +699,9 @@ uint64_t cpu_tick_get_count(CPUTimer *timer);
|
|||||||
void cpu_tick_set_limit(CPUTimer *timer, uint64_t limit);
|
void cpu_tick_set_limit(CPUTimer *timer, uint64_t limit);
|
||||||
trap_state* cpu_tsptr(CPUSPARCState* env);
|
trap_state* cpu_tsptr(CPUSPARCState* env);
|
||||||
#endif
|
#endif
|
||||||
void do_unaligned_access(CPUSPARCState *env, target_ulong addr, int is_write,
|
void QEMU_NORETURN do_unaligned_access(CPUSPARCState *env, target_ulong addr,
|
||||||
int is_user, void *retaddr);
|
int is_write, int is_user,
|
||||||
|
void *retaddr);
|
||||||
|
|
||||||
#define TB_FLAG_FPU_ENABLED (1 << 4)
|
#define TB_FLAG_FPU_ENABLED (1 << 4)
|
||||||
#define TB_FLAG_AM_ENABLED (1 << 5)
|
#define TB_FLAG_AM_ENABLED (1 << 5)
|
||||||
|
@ -78,7 +78,7 @@ DEF_HELPER_1(fcmpeq_fcc1, void, env)
|
|||||||
DEF_HELPER_1(fcmpeq_fcc2, void, env)
|
DEF_HELPER_1(fcmpeq_fcc2, void, env)
|
||||||
DEF_HELPER_1(fcmpeq_fcc3, void, env)
|
DEF_HELPER_1(fcmpeq_fcc3, void, env)
|
||||||
#endif
|
#endif
|
||||||
DEF_HELPER_2(raise_exception, void, env, int)
|
DEF_HELPER_2(raise_exception, noreturn, env, int)
|
||||||
#define F_HELPER_0_1(name) DEF_HELPER_1(f ## name, void, env)
|
#define F_HELPER_0_1(name) DEF_HELPER_1(f ## name, void, env)
|
||||||
|
|
||||||
DEF_HELPER_3(faddd, f64, env, f64, f64)
|
DEF_HELPER_3(faddd, f64, env, f64, f64)
|
||||||
|
Loading…
Reference in New Issue
Block a user