]> Cypherpunks repositories - gostls13.git/commit
runtime: save 8 stack bytes in timediv on arm.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Wed, 31 Jul 2013 21:37:23 +0000 (23:37 +0200)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Wed, 31 Jul 2013 21:37:23 +0000 (23:37 +0200)
commita05237f20ae6230238a9e44bc8bfc974e6d51422
tree3e1c0471fb6cecaebfab10d9bd70c6907bc350bf
parent727901410a9394b5c6d8f844321eb651cfa4abca
runtime: save 8 stack bytes in timediv on arm.

Operations on int64 are very stack consuming with 5c.
Fixes netbsd/arm build.

Before: TEXT    runtime.timediv+0(SB),7,$52-16
After:  TEXT    runtime.timediv+0(SB),7,$44-16

The stack usage is unchanged on 386:
        TEXT    runtime.timediv+0(SB),7,$8-16

R=golang-dev, dvyukov, bradfitz
CC=golang-dev
https://golang.org/cl/12182044
src/pkg/runtime/runtime.c