aboutsummaryrefslogtreecommitdiffstats
path: root/powerpc/TargetPrinter.ml
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2017-11-09 14:27:23 +0100
committerBernhard Schommer <bernhardschommer@gmail.com>2017-11-09 14:27:23 +0100
commit2bf69a09c20c52685ce3c1933577b9aaa5e38e51 (patch)
tree322db4cdddcec685fabfef2ce89be382733972c4 /powerpc/TargetPrinter.ml
parent92ff9919ff370d914e597f3675670516ac71b6dc (diff)
downloadcompcert-kvx-2bf69a09c20c52685ce3c1933577b9aaa5e38e51.tar.gz
compcert-kvx-2bf69a09c20c52685ce3c1933577b9aaa5e38e51.zip
Removed no longer used function. Bug 22525
Diffstat (limited to 'powerpc/TargetPrinter.ml')
-rw-r--r--powerpc/TargetPrinter.ml30
1 files changed, 0 insertions, 30 deletions
diff --git a/powerpc/TargetPrinter.ml b/powerpc/TargetPrinter.ml
index f15e6ec1..cf1d4aba 100644
--- a/powerpc/TargetPrinter.ml
+++ b/powerpc/TargetPrinter.ml
@@ -910,36 +910,6 @@ module Target (System : SYSTEM):TARGET =
let print_literal32 oc n lbl =
fprintf oc "%a: .long 0x%lx\n" label lbl n
- let print_init oc = function
- | Init_int8 n ->
- fprintf oc " .byte %ld\n" (camlint_of_coqint n)
- | Init_int16 n ->
- fprintf oc " .short %ld\n" (camlint_of_coqint n)
- | Init_int32 n ->
- fprintf oc " .long %ld\n" (camlint_of_coqint n)
- | Init_int64 n ->
- let b = camlint64_of_coqint n in
- fprintf oc " .long 0x%Lx, 0x%Lx\n"
- (Int64.shift_right_logical b 32)
- (Int64.logand b 0xFFFFFFFFL)
- | Init_float32 n ->
- fprintf oc " .long 0x%lx %s %.18g\n"
- (camlint_of_coqint (Floats.Float32.to_bits n))
- comment (camlfloat_of_coqfloat32 n)
- | Init_float64 n ->
- let b = camlint64_of_coqint (Floats.Float.to_bits n) in
- fprintf oc " .long 0x%Lx, 0x%Lx %s %.18g\n"
- (Int64.shift_right_logical b 32)
- (Int64.logand b 0xFFFFFFFFL)
- comment (camlfloat_of_coqfloat n)
- | Init_space n ->
- if Z.gt n Z.zero then
- fprintf oc " .space %s\n" (Z.to_string n)
- | Init_addrof(symb, ofs) ->
- fprintf oc " .long %a\n"
- symbol_offset (symb, ofs)
-
-
let print_fun_info = elf_print_fun_info
let emit_constants oc lit =