From 5269b0c1e565a23bafee6e4a835f5fc483fdb897 Mon Sep 17 00:00:00 2001 From: "Ben.Lippmeier@anu.edu.au" Date: Thu, 15 Jan 2009 08:00:04 +0000 Subject: [PATCH] SPARC NCG: Fix signed/unsigned operand format bug --- compiler/nativeGen/PprMach.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/nativeGen/PprMach.hs b/compiler/nativeGen/PprMach.hs index 822dc0d..eb880fc 100644 --- a/compiler/nativeGen/PprMach.hs +++ b/compiler/nativeGen/PprMach.hs @@ -395,8 +395,8 @@ pprSize x = ptext (case x of FF64 -> sLit "sd" -- "scalar double-precision float" (SSE2) #endif #if sparc_TARGET_ARCH - II8 -> sLit "sb" - II16 -> sLit "sh" + II8 -> sLit "ub" + II16 -> sLit "uh" II32 -> sLit "" II64 -> sLit "d" FF32 -> sLit "" -- 1.7.10.4