From 162224b5d2e9e5baafa0e3ae6c4229a9e9df4978 Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Sun, 4 Jan 2015 19:43:21 -0500 Subject: [PATCH] Debugger: Add register format definition for SIMD. --- src/apps/debugger/arch/Register.cpp | 4 ++++ src/apps/debugger/arch/Register.h | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/apps/debugger/arch/Register.cpp b/src/apps/debugger/arch/Register.cpp index 58318a2066..cf17f8a526 100644 --- a/src/apps/debugger/arch/Register.cpp +++ b/src/apps/debugger/arch/Register.cpp @@ -1,5 +1,6 @@ /* * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. + * Copyright 2014, Rene Gollent, rene@gollent.com. * Distributed under the terms of the MIT License. */ @@ -34,6 +35,9 @@ Register::Register(int32 index, const char* name, uint32 bitSize, case B_DOUBLE_TYPE: fFormat = REGISTER_FORMAT_FLOAT; break; + case B_RAW_TYPE: + fFormat = REGISTER_FORMAT_SIMD; + break; default: fFormat = REGISTER_FORMAT_INTEGER; break; diff --git a/src/apps/debugger/arch/Register.h b/src/apps/debugger/arch/Register.h index a2f34db8db..46f28cea6c 100644 --- a/src/apps/debugger/arch/Register.h +++ b/src/apps/debugger/arch/Register.h @@ -1,5 +1,6 @@ /* * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. + * Copyright 2014, Rene Gollent, rene@gollent.com. * Distributed under the terms of the MIT License. */ #ifndef REGISTER_H @@ -11,7 +12,8 @@ enum register_format { REGISTER_FORMAT_INTEGER, - REGISTER_FORMAT_FLOAT + REGISTER_FORMAT_FLOAT, + REGISTER_FORMAT_SIMD }; enum register_type {