This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

peephole2 problem



Currently the sparc ldd peephole2 code will happily convert a sequence
like: 

   ld [%o0], %o0
   ld [%o0 + 4], %o1

to:

   ldd [%o0], %o0

which is obviously wrong. 

Should the corresponding peephole2 predicate avoid this situation, or
it's something that the peephole2 code should take care of? 
If the former is true I will submit a patch to fix the predicates
shortly.
Please advice. 

        --dan






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]