You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on porting power-instruction-analyzer to use the new asm! macro instead of llvm_asm!, however I can't translate clobbers for xer and cr (which aren't included by not specifying preserve_flags).
llvm_asm! example (generated by a proc-macro, so excuse the naming):
llvm_asm!("mfxer $0\n\ and $0, $0, $2\n\ or $0, $0, $3\n\ mtxer $0\n\ cmplw $4, $5\n\ mfxer $0\n\ mfcr $1":"=&b"(xer_out),"=&b"(cr):"b"(xer_mask_in),"b"(xer_in),"b"(ra),"b"(rb):"xer","cr");
I'm working on porting power-instruction-analyzer to use the new
asm!
macro instead ofllvm_asm!
, however I can't translate clobbers forxer
andcr
(which aren't included by not specifyingpreserve_flags
).llvm_asm!
example (generated by a proc-macro, so excuse the naming):attempted
asm!
translation:The text was updated successfully, but these errors were encountered: