https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104815

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
With the tentative patch, I'm running into:
...
ptxas 20000224-1.o, line 72; error   : Result discard mode is not allowed for
instruction 'ld'
nvptx-as: ptxas terminated with signal 11 [Segmentation fault], core dumped
...

For:
...
        {
                .param.u32 %value_in;                                           
                .param.u64 %out_arg1;                                           
                st.param.u64 [%out_arg1], %r61;                                 
                call (%value_in), call_critical_lisp_code, (%out_arg1);         
                ld.param.u32    _, [%value_in];                                 
        }
...

Now trying a more restrictive approach, using an operand modifier x, only used
on atom operations, like so:
...
-      = "%.\\tatom%A1.add%t0\\t%0, %1, %2;";
+      = "%.\\tatom%A1.add%t0\\t%x0, %1, %2;";
...

Reply via email to