topperc wrote:

> > > @topperc If I am not mistaken Zicfiss extension uses moprr instructions 
> > > to get ROP functionality. But Zimop does not limit only the use of 
> > > Zicfiss extension. They can be redefined and assigned other operations.
> 
> > 
> 
> > Right, but won't users be programming to each of the extensions that 
> > redefine them rather than some generic interface? We don't have 
> > builtins/intrinsics for all of the HINT encodings that can redefined.
> 
> 
> 
> Yeah, I agree with you. 
> 
> But can be cases when someone in some narrow case needs to program logic by 
> hand. Why restrict it? 
> 
> I also think that a generic interface is much better than achieving the same 
> logic through builtins/intrinsics.

I just read back over my original question. I'm not sure it was clear that I 
was asking about the need for intrinsics. I don't object to assembler support 
and inline assembly is always an option.

https://github.com/llvm/llvm-project/pull/75182
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to