ganeshgit wrote:

> > [@rengolin](https://github.com/rengolin) 
> > [@arun-thmn](https://github.com/arun-thmn) are you OK with merging initial 
> > ACEv1 support without efficient BSR support. I'm saying efficient because 
> > the workaround is just to always put `bsr` initialization before each 
> > scaled operation or a linear block of scaled operations.
> 
> Thanks [@e-kud](https://github.com/e-kud) If the `bsr` initialization is 
> `zero` always, it is fine we can `merge` this patch and open an another patch 
> to fix it. FYI. We have an MLIR patch, that needs `outer-product` 
> instructions (instrincs) for `bf16`, `int8`, and `bf8/hf8` (with `bsr` set to 
> zero) with register allocation for now. Along, with that we do needed 
> `tilemovrow` and `tilezero`.

@e-kud The BSR PR is not meant for solving the clobbering issue you quoted 
here. We can't solve this by having defs for BSR0 as without ACEv1 that might 
break. I have the following suggestions. Please let me know which one you prefer
1. Solve it along this existing PR with new commit.
2. Merge this PR and solve that as a bug. It shows up only at O0 however it is 
not related to OptimizeNone code path but it needs to be handled.
3. For both (1) and (2) we need to edit the psABI doc to show BSR0 is call 
clobbered. 

I have a fix that I am testing.

https://github.com/llvm/llvm-project/pull/208408
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to