diff options
author | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2015-01-21 23:28:34 +0000 |
---|---|---|
committer | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2015-01-21 23:28:34 +0000 |
commit | 1903b037de2fb3e75826406b46f055acb70963fa (patch) | |
tree | 604cd8b790fe14e5fbe441d4cd647c80d2a36a9a /compiler/mips/cpugas.pas | |
parent | ad1141d52f8353457053b925cd674fe1d5c4eafc (diff) | |
parent | 953d907e4d6c3a5c2f8aaee6e5e4f73c55ce5985 (diff) | |
download | fpc-blocks.tar.gz |
* synchronised with trunk till r29513blocks
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/blocks@29516 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/mips/cpugas.pas')
-rw-r--r-- | compiler/mips/cpugas.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/mips/cpugas.pas b/compiler/mips/cpugas.pas index f6397270a5..65a884a52b 100644 --- a/compiler/mips/cpugas.pas +++ b/compiler/mips/cpugas.pas @@ -225,7 +225,7 @@ unit cpugas; not (ai.condition in [C_EQ,C_NE,C_GTZ,C_GEZ,C_LTZ,C_LEZ,C_COP1TRUE,C_COP1FALSE])) {or (op=A_JAL)} or (op=A_REM) or (op=A_REMU) { DIV and DIVU are normally macros, but use $zero as first arg to generate a CPU instruction. } - or ((op=A_DIV) or (op=A_DIVU) and + or (((op=A_DIV) or (op=A_DIVU)) and ((ai.ops<>3) or (ai.oper[0]^.typ<>top_reg) or (ai.oper[0]^.reg<>NR_R0))) or (op=A_MULO) or (op=A_MULOU) { A_LI is only a macro if the immediate is not in thez 16-bit range } |