From 9b2190b382036354e4ff7026d2cd8f3f4fe8337d Mon Sep 17 00:00:00 2001 From: xleroy Date: Sun, 21 Apr 2013 16:13:55 +0000 Subject: Fixes in PowerPC port git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2209 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- runtime/powerpc/i64_scmp.s | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'runtime/powerpc/i64_scmp.s') diff --git a/runtime/powerpc/i64_scmp.s b/runtime/powerpc/i64_scmp.s index 89630063..87811e03 100644 --- a/runtime/powerpc/i64_scmp.s +++ b/runtime/powerpc/i64_scmp.s @@ -36,11 +36,11 @@ .text -### Unsigned comparison +### Signed comparison .balign 16 - .globl __i64_ucmp -__i64_ucmp: + .globl __i64_scmp +__i64_scmp: cmpw cr0, r3, r5 # compare high words (signed) cmplw cr1, r4, r6 # compare low words (unsigned) mfcr r0 @@ -67,6 +67,6 @@ __i64_ucmp: # = 0 if X = Y blr .type __i64_scmp, @function - .size __i64_scmp, .-__i64_ucmp + .size __i64_scmp, .-__i64_scmp \ No newline at end of file -- cgit