Displaying 5 results from an estimated 5 matches for "gushenrysmith".
2018 Mar 20
0
Encoding an X86 format with long operands
...e in real code. For example, when
a pointer is passed as operand to a function. Most X86 instructions support
a format of (base + scale * index + displacement) where any of those pieces
are optional, but it takes up to 6 bytes to encode them.
~Craig
On Tue, Mar 20, 2018 at 10:25 AM, Gus Smith <gushenrysmith at gmail.com> wrote:
> Whoops - sorry for the confusion. n would be set in stone beforehand. I
> basically meant to indicate that we'd either be looking at a 32 bit or 64
> bit system, ie 4 byte or 8 byte addresses.
>
>
> On Tue, Mar 20, 2018, 1:07 PM Craig Topper <crai...
2018 Mar 20
1
Generating a custom opcode from an LLVM intrinsic
...x0f 0x3a opcode map version of PS from above
> TAPD - 0x0f 0x3a opcode map version of PD from above
> TAXS - 0x0f 0x3a opcode version of XS from above
> TAXD - 0x0f 0x3a opcode version of XD from above
>
>
>
>
> ~Craig
>
> On Sun, Mar 18, 2018 at 7:39 PM, Gus Smith <gushenrysmith at gmail.com>
> wrote:
>
>> Craig, thanks for the quick response. That helps a lot. I had no clue
>> they were buried in there, though I guess I should have looked harder --
>> the hex should have given me a clue, perhaps!
>>
>> For the sake of my own edificat...
2018 Mar 20
2
Encoding an X86 format with long operands
Whoops - sorry for the confusion. n would be set in stone beforehand. I
basically meant to indicate that we'd either be looking at a 32 bit or 64
bit system, ie 4 byte or 8 byte addresses.
On Tue, Mar 20, 2018, 1:07 PM Craig Topper <craig.topper at gmail.com> wrote:
> Hi Gus,
>
> When you say "n byte destination" you mean you want to encode an n byte
> address as
2018 Mar 19
0
Generating a custom opcode from an LLVM intrinsic
...0x0f 0x3a opcode map with no prefix
TAPS - 0x0f 0x3a opcode map version of PS from above
TAPD - 0x0f 0x3a opcode map version of PD from above
TAXS - 0x0f 0x3a opcode version of XS from above
TAXD - 0x0f 0x3a opcode version of XD from above
~Craig
On Sun, Mar 18, 2018 at 7:39 PM, Gus Smith <gushenrysmith at gmail.com> wrote:
> Craig, thanks for the quick response. That helps a lot. I had no clue they
> were buried in there, though I guess I should have looked harder -- the hex
> should have given me a clue, perhaps!
>
> For the sake of my own edification (and not taking up too mu...
2018 Mar 19
4
Generating a custom opcode from an LLVM intrinsic
Craig, thanks for the quick response. That helps a lot. I had no clue they
were buried in there, though I guess I should have looked harder -- the hex
should have given me a clue, perhaps!
For the sake of my own edification (and not taking up too much of your
time) I will try to generate it myself. I've found the definition of the
"I" class at line 358 of