/[pcre]/code/trunk/sljit/sljitLir.h
ViewVC logotype

Diff of /code/trunk/sljit/sljitLir.h

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

revision 1208 by zherczeg, Mon Nov 5 12:30:13 2012 UTC revision 1209 by zherczeg, Wed Nov 7 07:25:07 2012 UTC
# Line 834  SLJIT_API_FUNC_ATTRIBUTE void sljit_set_ Line 834  SLJIT_API_FUNC_ATTRIBUTE void sljit_set_
834     Flags: destroy all flags for calls. */     Flags: destroy all flags for calls. */
835  SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_ijump(struct sljit_compiler *compiler, sljit_si type, sljit_si src, sljit_sw srcw);  SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_ijump(struct sljit_compiler *compiler, sljit_si type, sljit_si src, sljit_sw srcw);
836    
837  /* If op == SLJIT_MOV, SLJIT_MOV_SI, SLJIT_MOV_UI:  /* Perform the operation using the conditional flags as the second argument.
838       Set dst to 1 if condition is fulfilled, 0 otherwise     Type must always be between SLJIT_C_EQUAL and SLJIT_C_FLOAT_ORDERED. The
839         type must be between SLJIT_C_EQUAL and SLJIT_C_FLOAT_ORDERED     value represented by the type is 1, if the condition represented by the type
840       is fulfilled, and 0 otherwise.
841    
842       If op == SLJIT_MOV, SLJIT_MOV_SI, SLJIT_MOV_UI:
843         Set dst to the value represented by the type (0 or 1).
844         Src must be SLJIT_UNUSED, and srcw must be 0
845       Flags: - (never set any flags)       Flags: - (never set any flags)
846     If op == SLJIT_OR     If op == SLJIT_OR, op == SLJIT_AND, op == SLJIT_XOR
847       Dst is used as src as well, and set its lowest bit to 1 if       Performs the binary operation using src as the first, and the value
848       the condition is fulfilled. Other bits are unaffected       represented by type as the second argument.
849       Flags: I | E | K       Important note: only dst=src and dstw=srcw is supported at the moment!
    If op == SLJIT_AND  
      Dst is used as src as well, and set its lowest bit to 0 if  
      the condition is not fulfilled. Resets all other bits.  
850       Flags: I | E | K       Flags: I | E | K
851     Note: sljit_emit_cond_value does nothing, if dst is SLJIT_UNUSED (regardless of op). */     Note: sljit_emit_op_flags does nothing, if dst is SLJIT_UNUSED (regardless of op). */
852  SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_cond_value(struct sljit_compiler *compiler, sljit_si op, sljit_si dst, sljit_sw dstw, sljit_si type);  SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_si op,
853            sljit_si dst, sljit_sw dstw,
854            sljit_si src, sljit_sw srcw,
855            sljit_si type);
856    
857  /* Copies the base address of SLJIT_LOCALS_REG+offset to dst.  /* Copies the base address of SLJIT_LOCALS_REG+offset to dst.
858     Flags: - (never set any flags) */     Flags: - (never set any flags) */

Legend:
Removed from v.1208  
changed lines
  Added in v.1209

  ViewVC Help
Powered by ViewVC 1.1.5