List of simplifications we should perform

DJ Delorie dj@redhat.com
Fri May 11 11:03:00 GMT 2001


> One could even take this a step further and provide an interface
> to allow people to write optimizer in higher-level languages. I'm
> not sure how practical would that be, though.

(define-optimization "neg-neg"
  [(set (match-operand:SI 0 "" "")
        (neg:SI (neg:SI (match-operand:SI 1 "" ""))))]
  "condition"
  [(set (match-dup 0) (match-dup 1))]
  "prep-statement"
  )



More information about the Gcc mailing list