Commit d8d79c1d by Kyrylo Tkachov Committed by Kyrylo Tkachov

neon-docgen.ml: Add crypto intrinsics documentation.

2013-12-19  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* config/arm/neon-docgen.ml: Add crypto intrinsics documentation.
	* doc/arm-neon-intrinsics.texi: Regenerate.

From-SVN: r206132
parent ed4bcdba
2013-12-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/neon-docgen.ml: Add crypto intrinsics documentation.
* doc/arm-neon-intrinsics.texi: Regenerate.
2013-12-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/neon-testgen.ml (effective_target): Handle "CRYPTO".
2013-12-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
......@@ -329,6 +329,77 @@ let gnu_header chan =
"@c This file is generated automatically using gcc/config/arm/neon-docgen.ml";
"@c Please do not edit manually."]
let crypto_doc =
"
@itemize @bullet
@item poly128_t vldrq_p128(poly128_t const *)
@end itemize
@itemize @bullet
@item void vstrq_p128(poly128_t *, poly128_t)
@end itemize
@itemize @bullet
@item uint32_t vsha1h_u32 (uint32_t)
@*@emph{Form of expected instruction(s):} @code{sha1h.32 @var{q0}, @var{q1}}
@end itemize
@itemize @bullet
@item uint32x4_t vsha1cq_u32 (uint32x4_t, uint32_t, uint32x4_t)
@*@emph{Form of expected instruction(s):} @code{sha1c.32 @var{q0}, @var{q1}, @var{q2}}
@end itemize
@itemize @bullet
@item uint32x4_t vsha1pq_u32 (uint32x4_t, uint32_t, uint32x4_t)
@*@emph{Form of expected instruction(s):} @code{sha1p.32 @var{q0}, @var{q1}, @var{q2}}
@end itemize
@itemize @bullet
@item uint32x4_t vsha1mq_u32 (uint32x4_t, uint32_t, uint32x4_t)
@*@emph{Form of expected instruction(s):} @code{sha1m.32 @var{q0}, @var{q1}, @var{q2}}
@end itemize
@itemize @bullet
@item uint32x4_t vsha1su0q_u32 (uint32x4_t, uint32x4_t, uint32x4_t)
@*@emph{Form of expected instruction(s):} @code{sha1su0.32 @var{q0}, @var{q1}, @var{q2}}
@end itemize
@itemize @bullet
@item uint32x4_t vsha1su1q_u32 (uint32x4_t, uint32x4_t)
@*@emph{Form of expected instruction(s):} @code{sha1su1.32 @var{q0}, @var{q1}, @var{q2}}
@end itemize
@itemize @bullet
@item uint32x4_t vsha256hq_u32 (uint32x4_t, uint32x4_t, uint32x4_t)
@*@emph{Form of expected instruction(s):} @code{sha256h.32 @var{q0}, @var{q1}, @var{q2}}
@end itemize
@itemize @bullet
@item uint32x4_t vsha256h2q_u32 (uint32x4_t, uint32x4_t, uint32x4_t)
@*@emph{Form of expected instruction(s):} @code{sha256h2.32 @var{q0}, @var{q1}, @var{q2}}
@end itemize
@itemize @bullet
@item uint32x4_t vsha256su0q_u32 (uint32x4_t, uint32x4_t)
@*@emph{Form of expected instruction(s):} @code{sha256su0.32 @var{q0}, @var{q1}}
@end itemize
@itemize @bullet
@item uint32x4_t vsha256su1q_u32 (uint32x4_t, uint32x4_t, uint32x4_t)
@*@emph{Form of expected instruction(s):} @code{sha256su1.32 @var{q0}, @var{q1}, @var{q2}}
@end itemize
@itemize @bullet
@item poly128_t vmull_p64 (poly64_t a, poly64_t b)
@*@emph{Form of expected instruction(s):} @code{vmull.p64 @var{q0}, @var{d1}, @var{d2}}
@end itemize
@itemize @bullet
@item poly128_t vmull_high_p64 (poly64x2_t a, poly64x2_t b)
@*@emph{Form of expected instruction(s):} @code{vmull.p64 @var{q0}, @var{d1}, @var{d2}}
@end itemize
"
(* Program entry point. *)
let _ =
if Array.length Sys.argv <> 2 then
......@@ -339,6 +410,7 @@ let _ =
let chan = open_out file in
gnu_header chan;
List.iter (document_group chan) intrinsic_groups;
Printf.fprintf chan "%s\n" crypto_doc;
close_out chan
with Sys_error sys ->
failwith ("Could not create output file " ^ file ^ ": " ^ sys)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment