Lines Matching refs:neg
514 bool neg = (value < 0); in OpRegRegImm() local
515 int32_t abs_value = (neg) ? -value : value; in OpRegRegImm()
550 opcode = (neg) ? kThumbSubRRI3 : kThumbAddRRI3; in OpRegRegImm()
552 opcode = (neg) ? kThumbAddRRI3 : kThumbSubRRI3; in OpRegRegImm()
565 opcode = (neg) ? kThumb2SubRRI12 : kThumb2AddRRI12; in OpRegRegImm()
567 opcode = (neg) ? kThumb2AddRRI12 : kThumb2SubRRI12; in OpRegRegImm()
657 bool neg = (value < 0); in OpRegImm() local
658 int32_t abs_value = (neg) ? -value : value; in OpRegImm()
663 if (!neg && (r_dest_src1 == rs_r13sp) && (value <= 508)) { /* sp */ in OpRegImm()
667 opcode = (neg) ? kThumbSubRI8 : kThumbAddRI8; in OpRegImm()
671 if (!neg && (r_dest_src1 == rs_r13sp) && (value <= 508)) { /* sp */ in OpRegImm()
675 opcode = (neg) ? kThumbAddRI8 : kThumbSubRI8; in OpRegImm()
679 if (!neg && short_form) { in OpRegImm()