question for hppl compiler people
|
11-13-2017, 10:20 AM
Post: #1
|
|||
|
|||
question for hppl compiler people
If I declare a variable as:
LOCAL A:=#0d32; vs LOCAL A:=0.; Does the first declaration result in operations involving such variables being compiled to integer operations and the second declaration result in operations compiled to floating point operations? ....or...is everything converted to a common format (like real or int) and everything done using that format? I was trying a few operations in a big loop and the timing seems to be the same regardless of the declaration, which probably means it's all done in floating point format since there isn't a hardware FPU in the ARM chip....integer would be faster if there was a difference. Let me know if any of you are familiar with the compiler internals... Thx -Donald |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
question for hppl compiler people - webmasterpdx - 11-13-2017 10:20 AM
RE: question for hppl compiler people - toml_12953 - 11-13-2017, 11:04 AM
RE: question for hppl compiler people - Tim Wessman - 11-13-2017, 02:58 PM
RE: question for hppl compiler people - StephenG1CMZ - 11-14-2017, 08:58 PM
RE: question for hppl compiler people - webmasterpdx - 11-14-2017, 10:09 AM
RE: question for hppl compiler people - Han - 11-14-2017, 03:57 PM
RE: question for hppl compiler people - webmasterpdx - 11-15-2017, 05:11 AM
|
User(s) browsing this thread: 1 Guest(s)