added libgcc_helper.S to retarget libgcc calls for 64 bit multiplication/division

This commit is contained in:
Markus Fröschle
2015-02-17 11:12:29 +00:00
parent 910f34f48e
commit ed5f1fb64c
5 changed files with 37 additions and 5 deletions

View File

@@ -169,6 +169,7 @@ static void push_long (struct X86EMU *, uint32_t w);
static uint16_t pop_word (struct X86EMU *);
static uint32_t pop_long (struct X86EMU *);
/****************************************************************************
REMARKS:
Handles any pending asychronous interrupts.
@@ -7819,6 +7820,8 @@ idiv_word(struct X86EMU *emu, uint16_t s)
emu->x86.R_AX = (uint16_t) div;
emu->x86.R_DX = (uint16_t) mod;
}
/****************************************************************************
REMARKS:
Implements the IDIV instruction and side effects.