summaryrefslogtreecommitdiff
path: root/target/m68k/translate.c
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2018-03-05 21:39:06 +0100
committerLaurent Vivier <laurent@vivier.eu>2018-03-09 15:50:38 +0100
commit248efb66fb88bc17c04a0d0f09a3539a43c80769 (patch)
treed1097fbeb5074df081161e3a4095ada1643d7a59 /target/m68k/translate.c
parent50067bd16fead5d78a283130efbf3e3b026de450 (diff)
downloadqemu-248efb66fb88bc17c04a0d0f09a3539a43c80769.zip
target/m68k: implement flog10
Using a local m68k floatx80_log10() [copied from previous: Written by Andreas Grabher for Previous, NeXT Computer Emulator.] Signed-off-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20180305203910.10391-5-laurent@vivier.eu>
Diffstat (limited to 'target/m68k/translate.c')
-rw-r--r--target/m68k/translate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/m68k/translate.c b/target/m68k/translate.c
index 705b9b0d5b..f1130df314 100644
--- a/target/m68k/translate.c
+++ b/target/m68k/translate.c
@@ -5060,6 +5060,9 @@ DISAS_INSN(fpu)
case 0x14: /* flogn */
gen_helper_flogn(cpu_env, cpu_dest, cpu_src);
break;
+ case 0x15: /* flog10 */
+ gen_helper_flog10(cpu_env, cpu_dest, cpu_src);
+ break;
case 0x18: /* fabs */
gen_helper_fabs(cpu_env, cpu_dest, cpu_src);
break;