xe::be<uint64_t> visualizers
This commit is contained in:
parent
6d2f083b09
commit
4b7a403337
|
@ -2,6 +2,31 @@
|
|||
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
||||
|
||||
<!-- Automatically convert endianness for xe::be -->
|
||||
<Type Name="xe::be<unsigned __int64>">
|
||||
<DisplayString>
|
||||
{(((value & 0xFF00000000000000) >> 56) |
|
||||
((value & 0x00FF000000000000) >> 40) |
|
||||
((value & 0x0000FF0000000000) >> 24) |
|
||||
((value & 0x000000FF00000000) >> 8 ) |
|
||||
((value & 0x00000000FF000000) << 8 ) |
|
||||
((value & 0x0000000000FF0000) << 24) |
|
||||
((value & 0x000000000000FF00) << 40) |
|
||||
((value & 0x00000000000000FF) << 56))}
|
||||
</DisplayString>
|
||||
</Type>
|
||||
<Type Name="xe::be<__int64>">
|
||||
<DisplayString>
|
||||
{(((value & 0xFF00000000000000) >> 56) |
|
||||
((value & 0x00FF000000000000) >> 40) |
|
||||
((value & 0x0000FF0000000000) >> 24) |
|
||||
((value & 0x000000FF00000000) >> 8 ) |
|
||||
((value & 0x00000000FF000000) << 8 ) |
|
||||
((value & 0x0000000000FF0000) << 24) |
|
||||
((value & 0x000000000000FF00) << 40) |
|
||||
((value & 0x00000000000000FF) << 56))}
|
||||
</DisplayString>
|
||||
</Type>
|
||||
|
||||
<Type Name="xe::be<unsigned int>">
|
||||
<DisplayString>
|
||||
{(((value & 0xFF000000) >> 24) |
|
||||
|
|
Loading…
Reference in New Issue