Advertisement
Guest User

Untitled

a guest
Jul 12th, 2015
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. (define_peephole2
  2. [(set (match_operand:CC_NOOV 0 "cc_register" "")
  3. (compare:CC_NOOV (zero_extract:SI
  4. (match_operand:SI 1 "low_register_operand" "")
  5. (const_int 1)
  6. (match_operand:SI 2 "const_int_operand" ""))
  7. (const_int 0)))
  8. (match_scratch:SI 3 "l")
  9. (set (pc)
  10. (if_then_else (match_operator:CC_NOOV 4 "equality_operator"
  11. [(match_dup 0) (const_int 0)])
  12. (match_operand 5 "" "")
  13. (match_operand 6 "" "")))]
  14. "TARGET_THUMB2
  15. && (INTVAL (operands[2]) >= 0 && INTVAL (operands[2]) < 32)"
  16. [(parallel [(set (match_dup 0)
  17. (compare:CC_NOOV (ashift:SI (match_dup 1) (match_dup 2))
  18. (const_int 0)))
  19. (clobber (match_dup 3))])
  20. (set (pc)
  21. (if_then_else (match_op_dup 4 [(match_dup 0) (const_int 0)])
  22. (match_dup 5) (match_dup 6)))]
  23. "
  24. operands[2] = GEN_INT (31 - INTVAL (operands[2]));
  25. operands[4] = gen_rtx_fmt_ee (GET_CODE (operands[4]) == NE ? LT : GE,
  26. VOIDmode, operands[0], const0_rtx);
  27. ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement