* [Buildroot] Am I using hardware floating? (CodeBench) @ 2013-09-21 15:24 Woody Wu 2013-09-22 8:37 ` Thomas Petazzoni 0 siblings, 1 reply; 5+ messages in thread From: Woody Wu @ 2013-09-21 15:24 UTC (permalink / raw) To: buildroot Hi, The toolchain I selected is codebench from buildroot. CPU is ARM s3c2416. I want to know what kind of floating method is used in my system. Does this related to BR? Thanks in advance. -- I can't go back to yesterday - because I was a different person then ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Am I using hardware floating? (CodeBench) 2013-09-21 15:24 [Buildroot] Am I using hardware floating? (CodeBench) Woody Wu @ 2013-09-22 8:37 ` Thomas Petazzoni 2013-09-22 15:18 ` Woody Wu 0 siblings, 1 reply; 5+ messages in thread From: Thomas Petazzoni @ 2013-09-22 8:37 UTC (permalink / raw) To: buildroot Dear Woody Wu, On Sat, 21 Sep 2013 23:24:45 +0800, Woody Wu wrote: > The toolchain I selected is codebench from buildroot. CPU is ARM > s3c2416. I want to know what kind of floating method is used in my > system. Does this related to BR? The S3C2416 is an ARM926, and it does not have a floating point unit, so your only solution is to use software floating point on this platform. Thomas -- Thomas Petazzoni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Am I using hardware floating? (CodeBench) 2013-09-22 8:37 ` Thomas Petazzoni @ 2013-09-22 15:18 ` Woody Wu 2013-09-23 7:28 ` Thomas Petazzoni 0 siblings, 1 reply; 5+ messages in thread From: Woody Wu @ 2013-09-22 15:18 UTC (permalink / raw) To: buildroot On Sun, Sep 22, 2013 at 10:37:29AM +0200, Thomas Petazzoni wrote: > Dear Woody Wu, > > On Sat, 21 Sep 2013 23:24:45 +0800, Woody Wu wrote: > > > The toolchain I selected is codebench from buildroot. CPU is ARM > > s3c2416. I want to know what kind of floating method is used in my > > system. Does this related to BR? > > The S3C2416 is an ARM926, and it does not have a floating point unit, > so your only solution is to use software floating point on this > platform. > > Thomas Okay, understand. For software floating, I know there are two ways, one is to generating an interrupt every time a floating instruction is executed, which is very slow. And, another way is let the compiler to convert all floating calculation to a function call which implemented in a floating library, this method is a little faster than the former. My compiler is CodeBench from BR, does it have this feature and has it already enabled? Thank you very much. > -- > Thomas Petazzoni, Free Electrons > Embedded Linux, Kernel and Android engineering > http://free-electrons.com -- I can't go back to yesterday - because I was a different person then ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Am I using hardware floating? (CodeBench) 2013-09-22 15:18 ` Woody Wu @ 2013-09-23 7:28 ` Thomas Petazzoni 2013-09-24 12:48 ` Woody Wu 0 siblings, 1 reply; 5+ messages in thread From: Thomas Petazzoni @ 2013-09-23 7:28 UTC (permalink / raw) To: buildroot Dear Woody Wu, On Sun, 22 Sep 2013 23:18:40 +0800, Woody Wu wrote: > Okay, understand. For software floating, I know there are two ways, > one is to generating an interrupt every time a floating instruction is > executed, which is very slow. And, another way is let the compiler to > convert all floating calculation to a function call which implemented > in a floating library, this method is a little faster than the > former. My compiler is CodeBench from BR, does it have this feature > and has it already enabled? Thank you very much. Yes, the Sourcery CodeBench toolchain for ARM uses soft-float for its ARMv5 multilib variant, which gets used if you select the arm926 processor type in Buildroot. Thomas -- Thomas Petazzoni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Am I using hardware floating? (CodeBench) 2013-09-23 7:28 ` Thomas Petazzoni @ 2013-09-24 12:48 ` Woody Wu 0 siblings, 0 replies; 5+ messages in thread From: Woody Wu @ 2013-09-24 12:48 UTC (permalink / raw) To: buildroot ? 2013-9-23 PM3:28?"Thomas Petazzoni" <thomas.petazzoni@free-electrons.com >??? > > Dear Woody Wu, > > On Sun, 22 Sep 2013 23:18:40 +0800, Woody Wu wrote: > > > Okay, understand. For software floating, I know there are two ways, > > one is to generating an interrupt every time a floating instruction is > > executed, which is very slow. And, another way is let the compiler to > > convert all floating calculation to a function call which implemented > > in a floating library, this method is a little faster than the > > former. My compiler is CodeBench from BR, does it have this feature > > and has it already enabled? Thank you very much. > > Yes, the Sourcery CodeBench toolchain for ARM uses soft-float for its > ARMv5 multilib variant, which gets used if you select the arm926 > processor type in Buildroot. > Many thanks Thomas! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130924/e8be2e0d/attachment.html> ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-09-24 12:48 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-09-21 15:24 [Buildroot] Am I using hardware floating? (CodeBench) Woody Wu 2013-09-22 8:37 ` Thomas Petazzoni 2013-09-22 15:18 ` Woody Wu 2013-09-23 7:28 ` Thomas Petazzoni 2013-09-24 12:48 ` Woody Wu
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox