[llvm-c] Implement LLVMPrintValueToString
[oota-llvm.git] / docs / Extensions.rst
index 78ff874abf096877799d3933555e1b4cc48c8ffb..925d7279bfaef13127e51f284d34e751ee4beb02 100644 (file)
@@ -14,6 +14,20 @@ Introduction
 This document describes extensions to tools and formats LLVM seeks compatibility
 with.
 
+General Assembly Syntax
+===========================
+
+C99-style Hexadecimal Floating-point Constants
+----------------------------------------------
+
+LLVM's assemblers allow floating-point constants to be written in C99's
+hexadecimal format instead of decimal if desired.
+
+.. code-block:: gas
+
+  .section .data
+  .float 0x1c2.2ap3
+
 Machine-specific Assembly Syntax
 ================================