search for: hwlegal

Displaying 5 results from an estimated 5 matches for "hwlegal".

2018 Jan 05
2
RFC: [LV] any objections in moving isLegalMasked* check from Legal to CostModel? (Cleaning up LoopVectorizationLegality)
...can tune the cost model ---- if other parts of the loop has enough speedup, we don't have to give up entire vectorization simply because masked load/store/gather/scatter aren't supported on the target. If anyone still thinks "early bailout" is valuable, splitting into a separate HWLegal class would be a cleaner approach than what we have today. We should be able to disable/enable it under an option. Let me know what you think. Thanks, Hideki Saito
2018 Jan 06
2
RFC: [LV] any objections in moving isLegalMasked* check from Legal to CostModel? (Cleaning up LoopVectorizationLegality)
...the compile time cost is non-negligible then I think we’d still like to keep the early >bailouts in some form.’ It's not like I have specific application code in mind. This all depends on what your code has and how often the emulated code has to kick-in. I'm more than happy to implement HWLegal class, and have early bailout available under the switch. I'm also fine having early bail out as the default if that helps sweeten the deal. :) My intention is to make LV components more modular, reusable, and easier to maintain. Moving things where they actually belong is part of that picture...
2018 Jan 05
0
RFC: [LV] any objections in moving isLegalMasked* check from Legal to CostModel? (Cleaning up LoopVectorizationLegality)
...del ---- if other parts of the loop has enough > speedup, we don't have to give up entire vectorization simply because masked load/store/gather/scatter > aren't supported on the target. > > If anyone still thinks "early bailout" is valuable, splitting into a separate HWLegal class would be > a cleaner approach than what we have today. We should be able to disable/enable it under an option. > > Let me know what you think. > > Thanks, > Hideki Saito > > I support this direction, and agree in principal that these are strictly cost model queries...
2018 Jan 07
0
RFC: [LV] any objections in moving isLegalMasked* check from Legal to CostModel? (Cleaning up LoopVectorizationLegality)
...le time cost is non-negligible then I think we’d still like to keep the early >bailouts in some form.’ > It's not like I have specific application code in mind. This all depends on what your code has and how often the emulated code has to > kick-in. I'm more than happy to implement HWLegal class, and have early bailout available under the switch. I'm also fine having early > bail out as the default if that helps sweeten the deal. :) > > My intention is to make LV components more modular, reusable, and easier to maintain. Moving things where they actually belong > is p...
2018 Jan 09
1
RFC: [LV] any objections in moving isLegalMasked* check from Legal to CostModel? (Cleaning up LoopVectorizationLegality)
...cost is non-negligible then I think we’d still like to keep the early >bailouts in some form.’ > It's not like I have specific application code in mind. This all > depends on what your code has and how often the emulated code has to > kick-in. I'm more than happy to implement HWLegal class, and have > early bailout available under the switch. I'm also fine having early > bail out as the default if that helps sweeten the deal. :) > > My intention is to make LV components more modular, reusable, and > easier to maintain. Moving things where they actually bel...