Power7 and Power8 have isel instructions that are slow compared to a
predicted branch. Document this as a subtarget feature.
Details
Details
- Reviewers
hfinkel
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I think it would be best to make HasISEL a { Fast, Slow, No }-type enum. We can have separate feature strings for the llc command line, but otherwise it becomes difficult to make sure that the -misel -mno-isel options in Clang override things in the correct way. Please experiment with that -- that's the underlying design constraint.
lib/Target/PowerPC/PPC.td | ||
---|---|---|
90 | If this line is longer that 80 characters, please unindent it as with other similar lines. |
If this line is longer that 80 characters, please unindent it as with other similar lines.