OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [config/] [rx/] [predicates.md] - Diff between revs 282 and 378

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"

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.