Patchwork [034/111] m68k: correct typo on f64_to_i32() return type.

login
register
mail settings
Submitter Bryce Lanham
Date Aug. 17, 2011, 8:46 p.m.
Message ID <1313614076-28878-35-git-send-email-blanham@gmail.com>
Download mbox | patch
Permalink /patch/110453/
State New
Headers show

Comments

Bryce Lanham - Aug. 17, 2011, 8:46 p.m.
From: Laurent Vivier <laurent@vivier.eu>

It returns i32, not f32.

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 target-m68k/helpers.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/target-m68k/helpers.h b/target-m68k/helpers.h
index 50f5486..4bfb149 100644
--- a/target-m68k/helpers.h
+++ b/target-m68k/helpers.h
@@ -42,7 +42,7 @@  DEF_HELPER_2(set_sr, void, env, i32)
 DEF_HELPER_3(movec, void, env, i32, i32)
 
 DEF_HELPER_2(const_f64, f64, env, i32);
-DEF_HELPER_2(f64_to_i32, f32, env, f64)
+DEF_HELPER_2(f64_to_i32, i32, env, f64)
 DEF_HELPER_2(f64_to_f32, f32, env, f64)
 DEF_HELPER_2(i32_to_f64, f64, env, i32)
 DEF_HELPER_2(f32_to_f64, f64, env, f32)