URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 282 |
Rev 378 |
Line 43... |
Line 43... |
return IN_RANGE (INTVAL (op), 0, 31);
|
return IN_RANGE (INTVAL (op), 0, 31);
|
return true;
|
return true;
|
}
|
}
|
)
|
)
|
|
|
|
(define_predicate "rx_constshift_operand"
|
|
(match_code "const_int")
|
|
{
|
|
return IN_RANGE (INTVAL (op), 0, 31);
|
|
}
|
|
)
|
|
|
;; Check that the operand is suitable as the source operand
|
;; Check that the operand is suitable as the source operand
|
;; for a logic or arithmeitc instruction. Registers, integers
|
;; for a logic or arithmeitc instruction. Registers, integers
|
;; and a restricted subset of memory addresses are allowed.
|
;; and a restricted subset of memory addresses are allowed.
|
|
|
(define_predicate "rx_source_operand"
|
(define_predicate "rx_source_operand"
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.