/[pcre]/code/trunk/sljit/sljitNativeARM_v5.c
ViewVC logotype

Diff of /code/trunk/sljit/sljitNativeARM_v5.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 849 by zherczeg, Tue Jan 3 17:49:03 2012 UTC revision 850 by zherczeg, Wed Jan 4 17:29:11 2012 UTC
# Line 1802  SLJIT_API_FUNC_ATTRIBUTE int sljit_emit_ Line 1802  SLJIT_API_FUNC_ATTRIBUTE int sljit_emit_
1802  #endif  #endif
1803          case SLJIT_UDIV:          case SLJIT_UDIV:
1804          case SLJIT_SDIV:          case SLJIT_SDIV:
1805                  EMIT_INSTRUCTION(0xe52d2008 /* str r2, [sp, #-8]! */);                  if (compiler->temporaries >= 3)
1806                            EMIT_INSTRUCTION(0xe52d2008 /* str r2, [sp, #-8]! */);
1807  #if defined(__GNUC__)  #if defined(__GNUC__)
1808                  FAIL_IF(sljit_emit_ijump(compiler, SLJIT_FAST_CALL, SLJIT_IMM,                  FAIL_IF(sljit_emit_ijump(compiler, SLJIT_FAST_CALL, SLJIT_IMM,
1809                          (op == SLJIT_UDIV ? SLJIT_FUNC_OFFSET(__aeabi_uidivmod) : SLJIT_FUNC_OFFSET(__aeabi_idivmod))));                          (op == SLJIT_UDIV ? SLJIT_FUNC_OFFSET(__aeabi_uidivmod) : SLJIT_FUNC_OFFSET(__aeabi_idivmod))));
1810  #else  #else
1811  #error "Software divmod functions are needed"  #error "Software divmod functions are needed"
1812  #endif  #endif
1813                  return push_inst(compiler, 0xe49d2008 /* ldr r2, [sp], #8 */);                  if (compiler->temporaries >= 3)
1814                            return push_inst(compiler, 0xe49d2008 /* ldr r2, [sp], #8 */);
1815                    return SLJIT_SUCCESS;
1816          }          }
1817    
1818          return SLJIT_SUCCESS;          return SLJIT_SUCCESS;

Legend:
Removed from v.849  
changed lines
  Added in v.850

  ViewVC Help
Powered by ViewVC 1.1.5