On Fri, May 8, 2020 at 11:56 AM cheng dong <qq451954...@gmail.com> wrote: > > i think it is because the go designer want to keep the memory order model of > golang simple
That turns out not to be the case. Go's memory model (https://golang.org/ref/mem) permits instruction scheduling. As I mentioned earlier, the gccgo and GoLLVM implementations Go do instruction scheduling. Ian > On Wednesday, May 6, 2020 at 11:18:28 AM UTC+8, Richard Gong wrote: >> >> I've been diving into golang compiler recently. As to the optimizations, I >> didn't find any pass implemented instruction rescheduling to utilize VLIW or >> pipeline technology in modern CPUs. >> Why this feature is missed? >> Anybody have a clue? >> >> Thanks in advance. > > -- > 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. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/7335d8fe-508c-49e9-b137-d24f511719d5%40googlegroups.com. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcUsj2Wenfk2vK2fOGk%2BaZG1Xc%3DBZyWzjahXD-%2BZ2c%2B8og%40mail.gmail.com.