/[qemu]/qemu/target-arm/op.c
ViewVC logotype

Diff of /qemu/target-arm/op.c

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

revision 1.13 by bellard, Wed Apr 27 20:25:20 2005 UTC revision 1.14 by bellard, Fri May 13 22:45:23 2005 UTC
# Line 805  void OPPROTO op_subl_T0_T1_saturate(void Line 805  void OPPROTO op_subl_T0_T1_saturate(void
805    FORCE_RET();    FORCE_RET();
806  }  }
807    
808    void OPPROTO op_double_T1_saturate(void)
809    {
810      int32_t val;
811    
812      val = T1;
813      if (val >= 0x40000000) {
814          T1 = 0x7fffffff;
815          env->QF = 1;
816      } else if (val <= (int32_t)0xc0000000) {
817          T1 = 0x80000000;
818          env->QF = 1;
819      } else {
820          T1 = val << 1;
821      }
822      FORCE_RET();
823    }
824    
825  /* thumb shift by immediate */  /* thumb shift by immediate */
826  void OPPROTO op_shll_T0_im_thumb(void)  void OPPROTO op_shll_T0_im_thumb(void)
827  {  {

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26