Re: [m5-dev] So somebody actually -does- use this stuff :)

2009-08-25 Thread Steve Reinhardt
(Is there a reason we're not having this conversation on m5-dev? I moved it back there for posterity, and in case anyone else wants to chime in. Note that we're discussing better processing of the C++ code snippets in the ISA description language.) On Tue, Aug 25, 2009 at 1:08 AM, Gabe

Re: [m5-dev] So somebody actually -does- use this stuff :)

2009-08-25 Thread Steve Reinhardt
On Tue, Aug 25, 2009 at 1:59 PM, Gabriel Michael Blackgbl...@eecs.umich.edu wrote: Quoting Steve Reinhardt ste...@gmail.com: - Pass by reference operands should also just be flagged as errors, since there's no way to know if the operand is read, written, or both. It's more difficult than

Re: [m5-dev] So somebody actually -does- use this stuff :)

2009-08-25 Thread nathan binkert
Good point... if we wanted to be completely safe we'd either have to require a prototype to be in scope or forbid using instruction operands directly as function call operands altogether. I feel like I can probably help with some useful ideas, but I don't have a good enough picture of what's

Re: [m5-dev] So somebody actually -does- use this stuff :)

2009-08-25 Thread Gabe Black
nathan binkert wrote: Good point... if we wanted to be completely safe we'd either have to require a prototype to be in scope or forbid using instruction operands directly as function call operands altogether. I feel like I can probably help with some useful ideas, but I don't have a