Re: [PATCH V4 2/3] RISC-V:Cache Management Operation instructions

2022-05-26 Thread Kito Cheng via Gcc-patches
Hi Simon: Good catch, those cache operations should take an address operand. On Thu, May 26, 2022 at 7:58 PM Simon Cook wrote: > > Hi, > > I've just tried using these builtins now these have landed in trunk, and > I have a question about the cbo builtins. > > Looking at the code being generate

Re: [PATCH V4 2/3] RISC-V:Cache Management Operation instructions

2022-05-26 Thread Simon Cook
Hi, I've just tried using these builtins now these have landed in trunk, and I have a question about the cbo builtins. Looking at the code being generated it looks like these builtins return an int and take no arguments, but reading the instructions these should instead take an int and retur