Re: [SH] Minor prefetch insn corrections

2012-08-12 Thread Kaz Kojima
Oleg Endo wrote: > I've noticed that __builtin_prefetch was not working on SH3, although > the pref instruction is available on SH3. Also, it seems that some of > the checks in the prefetch expander are redundant. > Tested on rev 190273 with > make -k check RUNTESTFLAGS="--target_board=sh-sim > \

[SH] Minor prefetch insn corrections

2012-08-12 Thread Oleg Endo
Hello, I've noticed that __builtin_prefetch was not working on SH3, although the pref instruction is available on SH3. Also, it seems that some of the checks in the prefetch expander are redundant. Tested on rev 190273 with make -k check RUNTESTFLAGS="--target_board=sh-sim \{-m2/-ml,-m2/-mb,-m2a/