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

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

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

revision 1181 by zherczeg, Sat Oct 20 21:33:38 2012 UTC revision 1182 by zherczeg, Sun Oct 28 05:22:32 2012 UTC
# Line 1170  SLJIT_API_FUNC_ATTRIBUTE int sljit_emit_ Line 1170  SLJIT_API_FUNC_ATTRIBUTE int sljit_emit_
1170    
1171          switch (GET_OPCODE(op)) {          switch (GET_OPCODE(op)) {
1172          case SLJIT_MOV:          case SLJIT_MOV:
1173            case SLJIT_MOV_P:
1174                  return emit_op(compiler, SLJIT_MOV, flags | WORD_DATA, dst, dstw, TMP_REG1, 0, src, srcw);                  return emit_op(compiler, SLJIT_MOV, flags | WORD_DATA, dst, dstw, TMP_REG1, 0, src, srcw);
1175    
1176          case SLJIT_MOV_UI:          case SLJIT_MOV_UI:
# Line 1179  SLJIT_API_FUNC_ATTRIBUTE int sljit_emit_ Line 1180  SLJIT_API_FUNC_ATTRIBUTE int sljit_emit_
1180                  return emit_op(compiler, SLJIT_MOV_SI, flags | INT_DATA | SIGNED_DATA, dst, dstw, TMP_REG1, 0, src, srcw);                  return emit_op(compiler, SLJIT_MOV_SI, flags | INT_DATA | SIGNED_DATA, dst, dstw, TMP_REG1, 0, src, srcw);
1181    
1182          case SLJIT_MOV_UB:          case SLJIT_MOV_UB:
1183                  return EMIT_MOV(SLJIT_MOV_UB, BYTE_DATA, (unsigned char));                  return EMIT_MOV(SLJIT_MOV_UB, BYTE_DATA, (sljit_ub));
1184    
1185          case SLJIT_MOV_SB:          case SLJIT_MOV_SB:
1186                  return EMIT_MOV(SLJIT_MOV_SB, BYTE_DATA | SIGNED_DATA, (signed char));                  return EMIT_MOV(SLJIT_MOV_SB, BYTE_DATA | SIGNED_DATA, (sljit_b));
1187    
1188          case SLJIT_MOV_UH:          case SLJIT_MOV_UH:
1189                  return EMIT_MOV(SLJIT_MOV_UH, HALF_DATA, (unsigned short));                  return EMIT_MOV(SLJIT_MOV_UH, HALF_DATA, (sljit_uh));
1190    
1191          case SLJIT_MOV_SH:          case SLJIT_MOV_SH:
1192                  return EMIT_MOV(SLJIT_MOV_SH, HALF_DATA | SIGNED_DATA, (signed short));                  return EMIT_MOV(SLJIT_MOV_SH, HALF_DATA | SIGNED_DATA, (sljit_h));
1193    
1194          case SLJIT_MOVU:          case SLJIT_MOVU:
1195            case SLJIT_MOVU_P:
1196                  return emit_op(compiler, SLJIT_MOV, flags | WORD_DATA | WRITE_BACK, dst, dstw, TMP_REG1, 0, src, srcw);                  return emit_op(compiler, SLJIT_MOV, flags | WORD_DATA | WRITE_BACK, dst, dstw, TMP_REG1, 0, src, srcw);
1197    
1198          case SLJIT_MOVU_UI:          case SLJIT_MOVU_UI:
# Line 1200  SLJIT_API_FUNC_ATTRIBUTE int sljit_emit_ Line 1202  SLJIT_API_FUNC_ATTRIBUTE int sljit_emit_
1202                  return emit_op(compiler, SLJIT_MOV_SI, flags | INT_DATA | SIGNED_DATA | WRITE_BACK, dst, dstw, TMP_REG1, 0, src, srcw);                  return emit_op(compiler, SLJIT_MOV_SI, flags | INT_DATA | SIGNED_DATA | WRITE_BACK, dst, dstw, TMP_REG1, 0, src, srcw);
1203    
1204          case SLJIT_MOVU_UB:          case SLJIT_MOVU_UB:
1205                  return EMIT_MOV(SLJIT_MOV_UB, BYTE_DATA | WRITE_BACK, (unsigned char));                  return EMIT_MOV(SLJIT_MOV_UB, BYTE_DATA | WRITE_BACK, (sljit_ub));
1206    
1207          case SLJIT_MOVU_SB:          case SLJIT_MOVU_SB:
1208                  return EMIT_MOV(SLJIT_MOV_SB, BYTE_DATA | SIGNED_DATA | WRITE_BACK, (signed char));                  return EMIT_MOV(SLJIT_MOV_SB, BYTE_DATA | SIGNED_DATA | WRITE_BACK, (sljit_b));
1209    
1210          case SLJIT_MOVU_UH:          case SLJIT_MOVU_UH:
1211                  return EMIT_MOV(SLJIT_MOV_UH, HALF_DATA | WRITE_BACK, (unsigned short));                  return EMIT_MOV(SLJIT_MOV_UH, HALF_DATA | WRITE_BACK, (sljit_uh));
1212    
1213          case SLJIT_MOVU_SH:          case SLJIT_MOVU_SH:
1214                  return EMIT_MOV(SLJIT_MOV_SH, HALF_DATA | SIGNED_DATA | WRITE_BACK, (signed short));                  return EMIT_MOV(SLJIT_MOV_SH, HALF_DATA | SIGNED_DATA | WRITE_BACK, (sljit_h));
1215    
1216          case SLJIT_NOT:          case SLJIT_NOT:
1217                  return emit_op(compiler, SLJIT_NOT, flags, dst, dstw, TMP_REG1, 0, src, srcw);                  return emit_op(compiler, SLJIT_NOT, flags, dst, dstw, TMP_REG1, 0, src, srcw);

Legend:
Removed from v.1181  
changed lines
  Added in v.1182

  ViewVC Help
Powered by ViewVC 1.1.5