/[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 1452 by zherczeg, Mon Oct 14 06:55:28 2013 UTC revision 1453 by zherczeg, Thu Jan 30 06:10:21 2014 UTC
# Line 265  struct sljit_compiler { Line 265  struct sljit_compiler {
265          sljit_sw cache_argw;          sljit_sw cache_argw;
266  #endif  #endif
267    
268    #if (defined SLJIT_CONFIG_ARM_64 && SLJIT_CONFIG_ARM_64)
269            sljit_si locals_offset;
270            sljit_si cache_arg;
271            sljit_sw cache_argw;
272    #endif
273    
274  #if (defined SLJIT_CONFIG_PPC_32 && SLJIT_CONFIG_PPC_32) || (defined SLJIT_CONFIG_PPC_64 && SLJIT_CONFIG_PPC_64)  #if (defined SLJIT_CONFIG_PPC_32 && SLJIT_CONFIG_PPC_32) || (defined SLJIT_CONFIG_PPC_64 && SLJIT_CONFIG_PPC_64)
275          sljit_sw imm;          sljit_sw imm;
276          sljit_si cache_arg;          sljit_si cache_arg;
# Line 478  SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_ Line 484  SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_
484    
485  /* Register output: simply the name of the register.  /* Register output: simply the name of the register.
486     For destination, you can use SLJIT_UNUSED as well. */     For destination, you can use SLJIT_UNUSED as well. */
487  #define SLJIT_MEM               0x100  #define SLJIT_MEM               0x80
488  #define SLJIT_MEM0()            (SLJIT_MEM)  #define SLJIT_MEM0()            (SLJIT_MEM)
489  #define SLJIT_MEM1(r1)          (SLJIT_MEM | (r1))  #define SLJIT_MEM1(r1)          (SLJIT_MEM | (r1))
490  #define SLJIT_MEM2(r1, r2)      (SLJIT_MEM | (r1) | ((r2) << 4))  #define SLJIT_MEM2(r1, r2)      (SLJIT_MEM | (r1) | ((r2) << 8))
491  #define SLJIT_IMM               0x200  #define SLJIT_IMM               0x40
492    
493  /* Set 32 bit operation mode (I) on 64 bit CPUs. The flag is totally ignored on  /* Set 32 bit operation mode (I) on 64 bit CPUs. The flag is totally ignored on
494     32 bit CPUs. If this flag is set for an arithmetic operation, it uses only the     32 bit CPUs. If this flag is set for an arithmetic operation, it uses only the
# Line 575  SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_ Line 581  SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_
581  SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_op0(struct sljit_compiler *compiler, sljit_si op);  SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_op0(struct sljit_compiler *compiler, sljit_si op);
582    
583  /* Notes for MOV instructions:  /* Notes for MOV instructions:
584     U = Mov with update (post form). If source or destination defined as SLJIT_MEM1(r1)     U = Mov with update (pre form). If source or destination defined as SLJIT_MEM1(r1)
585         or SLJIT_MEM2(r1, r2), r1 is increased by the sum of r2 and the constant argument         or SLJIT_MEM2(r1, r2), r1 is increased by the sum of r2 and the constant argument
586     UB = unsigned byte (8 bit)     UB = unsigned byte (8 bit)
587     SB = signed byte (8 bit)     SB = signed byte (8 bit)
# Line 602  SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_ Line 608  SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_
608  /* Flags: I - (never set any flags)  /* Flags: I - (never set any flags)
609     Note: see SLJIT_INT_OP for further details. */     Note: see SLJIT_INT_OP for further details. */
610  #define SLJIT_MOV_UI                    11  #define SLJIT_MOV_UI                    11
611  /* No SLJIT_INT_OP form, since it the same as SLJIT_IMOVU. */  /* No SLJIT_INT_OP form, since it the same as SLJIT_IMOV. */
612  /* Flags: I - (never set any flags)  /* Flags: I - (never set any flags)
613     Note: see SLJIT_INT_OP for further details. */     Note: see SLJIT_INT_OP for further details. */
614  #define SLJIT_MOV_SI                    12  #define SLJIT_MOV_SI                    12

Legend:
Removed from v.1452  
changed lines
  Added in v.1453

  ViewVC Help
Powered by ViewVC 1.1.5