summaryrefslogtreecommitdiffstats
path: root/src/devices/cpu/tms32082/dis_pp.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2016-11-19 05:35:54 +1100
committer Vas Crabb <vas@vastheman.com>2016-11-19 05:38:48 +1100
commit8179a84458204a5e767446fcf7d10f032a40fd0c (patch)
tree16105e1667f811dcb24dbf0fc255166cb06df5c2 /src/devices/cpu/tms32082/dis_pp.cpp
parent1b489fe83034072149fb0637b20c7ba57dc72a7a (diff)
Introduce u8/u16/u32/u64/s8/s16/s32/s64
* New abbreviated types are in osd and util namespaces, and also in global namespace for things that #include "emu.h" * Get rid of import of cstdint types to global namespace (C99 does this anyway) * Remove the cstdint types from everything in emu * Get rid of U64/S64 macros * Fix a bug in dps16 caused by incorrect use of macro * Fix debugcon not checking for "do " prefix case-insensitively * Fix a lot of messed up tabulation * More constexpr * Fix up many __names
Diffstat (limited to 'src/devices/cpu/tms32082/dis_pp.cpp')
-rw-r--r--src/devices/cpu/tms32082/dis_pp.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/tms32082/dis_pp.cpp b/src/devices/cpu/tms32082/dis_pp.cpp
index b32b681df3a..bdd6dfc9c97 100644
--- a/src/devices/cpu/tms32082/dis_pp.cpp
+++ b/src/devices/cpu/tms32082/dis_pp.cpp
@@ -435,10 +435,10 @@ static offs_t tms32082_disasm_pp(std::ostream &stream, offs_t pc, const uint8_t
case 0xe:
case 0xf:
{
- if ((op & U64(0xfaa8100000000000)) == U64(0x8800000000000000))
+ if ((op & 0xfaa8100000000000U) == 0x8800000000000000U)
{
int operation = (op >> 39) & 0x1f;
- uint64_t parallel_xfer = (op & U64(0x0000007fffffffff));
+ uint64_t parallel_xfer = (op & 0x0000007fffffffffU);
switch (operation)
{
@@ -462,7 +462,7 @@ static offs_t tms32082_disasm_pp(std::ostream &stream, offs_t pc, const uint8_t
case 0:
case 1: // Base set ALU (5-bit immediate)
{
- uint64_t parallel_xfer = (op & U64(0x0000007fffffffff));
+ uint64_t parallel_xfer = (op & 0x0000007fffffffffU);
int dst = (op >> 48) & 7;
int src1 = (op >> 45) & 7;
@@ -541,7 +541,7 @@ static offs_t tms32082_disasm_pp(std::ostream &stream, offs_t pc, const uint8_t
case 2: // Base set ALU (reg src2)
{
- uint64_t parallel_xfer = (op & U64(0x0000007fffffffff));
+ uint64_t parallel_xfer = (op & 0x0000007fffffffffU);
int dst = (op >> 48) & 7;
int src1 = (op >> 45) & 7;