



how can i operate FPU hardware
by darkzihard on Mar 10, 2015 |
darkzihard
Posts: 15 Joined: May 26, 2014 Last seen: Mar 29, 2020 |
||
To check teh FPU behavior of ORPSOC-de0-nano
I tried to run the or1200-float.c that is include in the tests folder. after running or1200-float.c, we checked that the output was ok by report command. but we found that FPU module is not working in HDL simulation I think floating point operation is processed not by FPU but by floating point library someone can help me how to operate FPU hardware for floating point processing please? i use or32-elf-gcc (OpenRISC 32-bit toolchain for or32-elf (built 20110410)) 4.5.1-or32-1.0rc4 thanks darkzihard |
RE: how can i operate FPU hardware
by BAndViG on Mar 31, 2015 |
BAndViG
Posts: 6 Joined: Mar 2, 2013 Last seen: Oct 23, 2015 |
||
Didn't you forget -mhard-float option in compiler's command line?
|
RE: how can i operate FPU hardware
by darkzihard on Apr 6, 2015 |
darkzihard
Posts: 15 Joined: May 26, 2014 Last seen: Mar 29, 2020 |
||
thanks BAndViG
i forgot -mhard-float option |



