aboutsummaryrefslogtreecommitdiffstats
path: root/checklink
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-07-06 12:15:31 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2015-07-06 12:15:31 +0200
commit2f31c1867b75040067a1ef74ae32f197e8d296c1 (patch)
treeee453426daf3ff04d0d625f0e40e8a4a13722dab /checklink
parentbec421ba348b0a511c7821843b04e5e9d7ccc619 (diff)
downloadcompcert-2f31c1867b75040067a1ef74ae32f197e8d296c1.tar.gz
compcert-2f31c1867b75040067a1ef74ae32f197e8d296c1.zip
Corrected little typo in __builtin_clz function.
Diffstat (limited to 'checklink')
-rw-r--r--checklink/Asm_printers.ml2
-rw-r--r--checklink/Check.ml2
2 files changed, 2 insertions, 2 deletions
diff --git a/checklink/Asm_printers.ml b/checklink/Asm_printers.ml
index c475d7da..38a420f6 100644
--- a/checklink/Asm_printers.ml
+++ b/checklink/Asm_printers.ml
@@ -188,7 +188,7 @@ let string_of_instruction = function
| Pcmplwi (i0, c1) -> "Pcmplwi(" ^ string_of_ireg i0 ^ ", " ^ string_of_constant c1 ^ ")"
| Pcmpw (i0, i1) -> "Pcmpw(" ^ string_of_ireg i0 ^ ", " ^ string_of_ireg i1 ^ ")"
| Pcmpwi (i0, c1) -> "Pcmpwi(" ^ string_of_ireg i0 ^ ", " ^ string_of_constant c1 ^ ")"
-| Pcntlz (i0, i1) -> "Pcntlz(" ^ string_of_ireg i0 ^ ", " ^ string_of_ireg i1 ^ ")"
+| Pcntlzw (i0, i1) -> "Pcntlzw(" ^ string_of_ireg i0 ^ ", " ^ string_of_ireg i1 ^ ")"
| Pcreqv (c0, c1, c2) -> "Pcreqv(" ^ string_of_crbit c0 ^ ", " ^ string_of_crbit c1 ^ ", " ^ string_of_crbit c2 ^ ")"
| Pcror (c0, c1, c2) -> "Pcror(" ^ string_of_crbit c0 ^ ", " ^ string_of_crbit c1 ^ ", " ^ string_of_crbit c2 ^ ")"
| Pcrxor (c0, c1, c2) -> "Pcrxor(" ^ string_of_crbit c0 ^ ", " ^ string_of_crbit c1 ^ ", " ^ string_of_crbit c2 ^ ")"
diff --git a/checklink/Check.ml b/checklink/Check.ml
index 10c7aa45..0e69ab72 100644
--- a/checklink/Check.ml
+++ b/checklink/Check.ml
@@ -1024,7 +1024,7 @@ let rec compare_code ccode ecode pc: checker = fun fw ->
>>= recur_simpl
| _ -> error
end
- | Pcntlz(r1, r2) ->
+ | Pcntlzw(r1, r2) ->
begin match ecode with
| CNTLZWx(rS, rA, rc) :: es ->
OK(fw)