minux
unread,Sep 1, 2012, 4:08:14 AM9/1/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to da...@cheney.net, r...@golang.org, minu...@gmail.com, golan...@googlegroups.com, re...@codereview-hr.appspotmail.com
sorry, but i tend to oppose this approach now.
i think this approach unnecessarily limit the scope of our binaries. this will make it
difficult for our developers to distribute pre-built binaries (either he must provide ARMv5
version and sacrifice floating point performance or he provide at least ARMv5 and ARMv6
versions, but user with VFP-less ARMv6 will have to use the ARMv5 version, which is
counter-intuitive at least);
we've spend quite some effort in the runtime to auto detect architecture and use
the best available instructions for synchronization. I think we can do better for this case.
our Go binary really only need two flavors, one with software floating point (undoubtedly could
be run on all supported machines), and one with VFPv1 hardware floating point.
to sum up, i'd rather disable VFPv3-only vmov (imm) instruction entirely than this approach.
ps:
$GOARM is somewhat misnamed, i think GOVFP would be much better.
if we can introduce GOVFP (or something similar), we can use this approach for it, because
it is less confusing to the users (our GOARM isn't really related to ARM Architecture).