/[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 859 by zherczeg, Wed Jan 4 17:29:11 2012 UTC revision 860 by zherczeg, Mon Jan 9 20:12:58 2012 UTC
# Line 871  SLJIT_API_FUNC_ATTRIBUTE int sljit_emit_ Line 871  SLJIT_API_FUNC_ATTRIBUTE int sljit_emit_
871          return SLJIT_SUCCESS;          return SLJIT_SUCCESS;
872  }  }
873    
874  SLJIT_API_FUNC_ATTRIBUTE void sljit_fake_enter(struct sljit_compiler *compiler, int args, int temporaries, int generals, int local_size)  SLJIT_API_FUNC_ATTRIBUTE void sljit_set_context(struct sljit_compiler *compiler, int args, int temporaries, int generals, int local_size)
875  {  {
876          int size;          int size;
877    
878          CHECK_ERROR_VOID();          CHECK_ERROR_VOID();
879          check_sljit_fake_enter(compiler, args, temporaries, generals, local_size);          check_sljit_set_context(compiler, args, temporaries, generals, local_size);
880    
881          compiler->temporaries = temporaries;          compiler->temporaries = temporaries;
882          compiler->generals = generals;          compiler->generals = generals;
# Line 993  static sljit_w data_transfer_insts[16] = Line 993  static sljit_w data_transfer_insts[16] =
993          if (compiler->shift_imm != 0x20) { \          if (compiler->shift_imm != 0x20) { \
994                  SLJIT_ASSERT(src1 == TMP_REG1); \                  SLJIT_ASSERT(src1 == TMP_REG1); \
995                  SLJIT_ASSERT(!(flags & ARGS_SWAPPED)); \                  SLJIT_ASSERT(!(flags & ARGS_SWAPPED)); \
996                  return push_inst(compiler, EMIT_DATA_PROCESS_INS(MOV_DP, flags & SET_FLAGS, dst, SLJIT_UNUSED, (compiler->shift_imm << 7) | (opcode << 5) | reg_map[src2])); \                  if (compiler->shift_imm != 0) \
997                            return push_inst(compiler, EMIT_DATA_PROCESS_INS(MOV_DP, flags & SET_FLAGS, dst, SLJIT_UNUSED, (compiler->shift_imm << 7) | (opcode << 5) | reg_map[src2])); \
998                    return push_inst(compiler, EMIT_DATA_PROCESS_INS(MOV_DP, flags & SET_FLAGS, dst, SLJIT_UNUSED, reg_map[src2])); \
999          } \          } \
1000          return push_inst(compiler, EMIT_DATA_PROCESS_INS(MOV_DP, flags & SET_FLAGS, dst, SLJIT_UNUSED, (reg_map[(flags & ARGS_SWAPPED) ? src1 : src2] << 8) | (opcode << 5) | 0x10 | ((flags & ARGS_SWAPPED) ? reg_map[src2] : reg_map[src1])));          return push_inst(compiler, EMIT_DATA_PROCESS_INS(MOV_DP, flags & SET_FLAGS, dst, SLJIT_UNUSED, (reg_map[(flags & ARGS_SWAPPED) ? src1 : src2] << 8) | (opcode << 5) | 0x10 | ((flags & ARGS_SWAPPED) ? reg_map[src2] : reg_map[src1])));
1001    

Legend:
Removed from v.859  
changed lines
  Added in v.860

  ViewVC Help
Powered by ViewVC 1.1.5