Thumb2: Recognizing doubles #4263
-
Version and Platform (required):
Code below is loading an 8-byte value into a floating point register.
Why doesn't BN automatically define a double at
HLIL thinks I'm dealing with integers
Is this because I implemented
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 5 replies
-
Yes I would assume because the IL isn't loading it as a float |
Beta Was this translation helpful? Give feedback.
-
How do I make IL treat it as a float then?
…On Mon, Apr 24, 2023 at 4:03 PM Peter LaFosse ***@***.***> wrote:
Yes I would assume because the IL isn't loading it as a float
—
Reply to this email directly, view it on GitHub
<#4262 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAESZ2QU6WJZEXVLLPPWGDXCZ2Y7ANCNFSM6AAAAAAXJRSCK4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Something like
I think. |
Beta Was this translation helpful? Give feedback.
-
For an example of this see: https://github.com/Vector35/arch-x86/blob/5b134ac7da45c009094faf654f613a9ecd11cae8/il.cpp#L286 |
Beta Was this translation helpful? Give feedback.
-
How do I recognize that I'm loading into a double register as opposed to a float one so that BN types my data as double and float respectively? For example,
vs
|
Beta Was this translation helpful? Give feedback.
-
I believe the root cause here is that we aren't doing this: #4400 |
Beta Was this translation helpful? Give feedback.
I believe the root cause here is that we aren't doing this: #4400