Lines Matching refs:right
1769 expressionS right; in expr() local
1796 right.X_md = 0; in expr()
1797 rightseg = expr (op_rank[(int) op_left], &right, mode); in expr()
1798 if (right.X_op == O_absent) in expr()
1801 right.X_op = O_constant; in expr()
1802 right.X_add_number = 0; in expr()
1803 right.X_add_symbol = NULL; in expr()
1804 right.X_op_symbol = NULL; in expr()
1847 if (right.X_op == O_big) in expr()
1849 if (right.X_add_number > 0) in expr()
1853 right.X_op = O_constant; in expr()
1854 right.X_add_number = 0; in expr()
1855 right.X_add_symbol = NULL; in expr()
1856 right.X_op_symbol = NULL; in expr()
1861 if (md_optimize_expr (resultP, op_left, &right)) in expr()
1871 if (op_left == O_add && right.X_op == O_constant in expr()
1875 add_to_result (resultP, right.X_add_number, right.X_extrabit); in expr()
1879 && right.X_op == O_symbol in expr()
1883 && md_allow_local_subtract (resultP, & right, rightseg) in expr()
1887 && !S_FORCE_RELOC (right.X_add_symbol, 0)) in expr()
1888 || right.X_add_symbol == resultP->X_add_symbol) in expr()
1890 symbol_get_frag (right.X_add_symbol), in expr()
1894 - S_GET_VALUE (right.X_add_symbol); in expr()
1895 subtract_from_result (resultP, right.X_add_number, right.X_extrabit); in expr()
1901 else if (op_left == O_subtract && right.X_op == O_constant in expr()
1905 subtract_from_result (resultP, right.X_add_number, right.X_extrabit); in expr()
1908 && (md_register_arithmetic || right.X_op != O_register)) in expr()
1911 resultP->X_op = right.X_op; in expr()
1912 resultP->X_add_symbol = right.X_add_symbol; in expr()
1913 resultP->X_op_symbol = right.X_op_symbol; in expr()
1914 add_to_result (resultP, right.X_add_number, right.X_extrabit); in expr()
1917 else if (resultP->X_op == O_constant && right.X_op == O_constant) in expr()
1920 offsetT v = right.X_add_number; in expr()
1990 && right.X_op == O_symbol in expr()
1994 && right.X_add_number == 0))) in expr()
1998 resultP->X_op_symbol = right.X_add_symbol; in expr()
2000 add_to_result (resultP, right.X_add_number, right.X_extrabit); in expr()
2003 subtract_from_result (resultP, right.X_add_number, in expr()
2004 right.X_extrabit); in expr()
2008 && !S_FORCE_RELOC (right.X_add_symbol, 0)) in expr()
2020 resultP->X_op_symbol = make_expr_symbol (&right); in expr()
2078 valueT left, right; in resolve_expression() local
2138 || !snapshot_symbol (&op_symbol, &right, &seg_right, &frag_right)) in resolve_expression()
2147 final_val += right; in resolve_expression()
2154 left = right; in resolve_expression()
2166 final_val -= right; in resolve_expression()
2194 && (seg_left != reg_section || left == right) in resolve_expression()
2198 || (seg_right == absolute_section && right == 0)) in resolve_expression()
2202 if (!(seg_right == absolute_section && right == 0)) in resolve_expression()
2205 left = right; in resolve_expression()
2228 left = right; in resolve_expression()
2235 && seg_right == absolute_section && right == 1) in resolve_expression()
2240 else if (!(left == right in resolve_expression()
2255 right += frag_off / OCTETS_PER_BYTE; in resolve_expression()
2258 case O_add: left += right; break; in resolve_expression()
2259 case O_subtract: left -= right; break; in resolve_expression()
2260 case O_multiply: left *= right; break; in resolve_expression()
2262 if (right == 0) in resolve_expression()
2264 left = (offsetT) left / (offsetT) right; in resolve_expression()
2267 if (right == 0) in resolve_expression()
2269 left = (offsetT) left % (offsetT) right; in resolve_expression()
2271 case O_left_shift: left <<= right; break; in resolve_expression()
2272 case O_right_shift: left >>= right; break; in resolve_expression()
2273 case O_bit_inclusive_or: left |= right; break; in resolve_expression()
2274 case O_bit_or_not: left |= ~right; break; in resolve_expression()
2275 case O_bit_exclusive_or: left ^= right; break; in resolve_expression()
2276 case O_bit_and: left &= right; break; in resolve_expression()
2279 left = (left == right in resolve_expression()
2289 left = (offsetT) left < (offsetT) right ? ~ (valueT) 0 : 0; in resolve_expression()
2292 left = (offsetT) left <= (offsetT) right ? ~ (valueT) 0 : 0; in resolve_expression()
2295 left = (offsetT) left >= (offsetT) right ? ~ (valueT) 0 : 0; in resolve_expression()
2298 left = (offsetT) left > (offsetT) right ? ~ (valueT) 0 : 0; in resolve_expression()
2300 case O_logical_and: left = left && right; break; in resolve_expression()
2301 case O_logical_or: left = left || right; break; in resolve_expression()