It doesn't look like they're supported on arm64 though. File a bug? Cheers, mwh
> On 15 November 2016 at 06:26, Rob Pike <r...@golang.org> wrote: > They are supported. Please read the ARM section of golang.org/doc/asm.html > to see the syntax. > > > On Sunday, November 13, 2016, wei.x...@arm.com <william.wei.x...@gmail.com> > wrote: > >> I'm trying to rewrite following two ARM64 assembly instructions into >> GoLang assembly instructions >> add x0, x3, x6, lsr #1 >> neg x4, x4, lsl #1 >> >> But it seems that GoLang ARM64 assembly don't support shifted operands. >> So i need to write following 4 GoLang assembly instructions? >> LSL $1, R4, R4 >> NEG R4, R4 >> LSR $1, R6, R6 >> ADD R6, R3, R0 >> >> >> My question is: GoLang assembly support shifted operands? >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "golang-nuts" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to golang-nuts+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.