make linebreaks in tables look good in both html and latex
authorJacob Lifshay <programmerjake@gmail.com>
Tue, 6 Sep 2022 08:23:28 +0000 (01:23 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Tue, 6 Sep 2022 08:23:28 +0000 (01:23 -0700)
openpower/power_trans_ops.mdwn

index af37859dc7eff64656d41345ef027488ea78ec70..e227ea6fbd0fdcab556b90f587cdecd7846b2ee0 100644 (file)
@@ -6,16 +6,19 @@ Power ISA v3.1B opcodes extracted from Power ISA v3.1B Appendix D Table 23 sheet
 
 Parenthesized entries are not part of fptrans.
 
-| XO LSB half &#x2192;<br> XO MSB half &#x2193; | 01100                                               | 01101                                              | 01110                                                | 01111                                               |
-|-----------------------------------------------|-----------------------------------------------------|----------------------------------------------------|------------------------------------------------------|-----------------------------------------------------|
-| 10000                                         | <small>`10000 01100`</small><br> \ (ffadds) (draft) | <small>`10000 01101`</small><br> \ fsinpis (draft) | <small>`10000 01110`</small><br> \ fatan2pis (draft) | <small>`10000 01111`</small><br> \ fasinpis (draft) |
-| 10001                                         | <small>`10001 01100`</small><br> \ fcospis (draft)  | <small>`10001 01101`</small><br> \ ftanpis (draft) | <small>`10001 01110`</small><br> \ facospis (draft)  | <small>`10001 01111`</small><br> \ fatanpis (draft) |
-| 10010                                         | <small>`10010 01100`</small><br> \ **TBD** (draft)  | <small>`10010 01101`</small><br> \  fsins (draft)  | <small>`10010 01110`</small><br> \ fatan2s (draft)   | <small>`10010 01111`</small><br> \ fasins (draft)   |
-| 10011                                         | <small>`10011 01100`</small><br> \  fcoss (draft)   | <small>`10011 01101`</small><br> \ ftans (draft)   | <small>`10011 01110`</small><br> \ facoss (draft)    | <small>`10011 01111`</small><br> \ fatans (draft)   |
-| 10100                                         | <small>`10100 01100`</small><br> \ **TBD** (draft)  | <small>`10100 01101`</small><br> \ fsinhs (draft)  | <small>`10100 01110`</small><br> \ fhypots (draft)   | <small>`10100 01111`</small><br> \ fasinhs (draft)  |
-| 10101                                         | <small>`10101 01100`</small><br> \ fcoshs (draft)   | <small>`10101 01101`</small><br> \ ftanhs (draft)  | <small>`10101 01110`</small><br> \ facoshs (draft)   | <small>`10101 01111`</small><br> \ fatanhs (draft)  |
-| 10110                                         | <small>`10110 01100`</small><br> \ **TBD** (draft)  | <small>`10110 01101`</small><br> \ **TBD** (draft) | <small>`10110 01110`</small><br> \ **TBD** (draft)   | <small>`10110 01111`</small><br> \ **TBD** (draft)  |
-| 10111                                         | <small>`10111 01100`</small><br> \ **TBD** (draft)  | <small>`10111 01101`</small><br> \ **TBD** (draft) | <small>`10111 01110`</small><br> \ **TBD** (draft)   | <small>`10111 01111`</small><br> \ **TBD** (draft)  |
+<!-- <template> is used to make html ignore what's inside it,
+needed since pandoc conversion to latex ignores <br> tags-->
+
+| XO LSB half &#x2192;<br> XO MSB half &#x2193; | 01100                                                               | 01101                                                              | 01110                                                                | 01111                                                               |
+|-----------------------------------------------|---------------------------------------------------------------------|--------------------------------------------------------------------|----------------------------------------------------------------------|---------------------------------------------------------------------|
+| 10000                                         | `10000 01100`<template>\linebreak[4]</template><br>(ffadds) (draft) | `10000 01101`<template>\linebreak[4]</template><br>fsinpis (draft) | `10000 01110`<template>\linebreak[4]</template><br>fatan2pis (draft) | `10000 01111`<template>\linebreak[4]</template><br>fasinpis (draft) |
+| 10001                                         | `10001 01100`<template>\linebreak[4]</template><br>fcospis (draft)  | `10001 01101`<template>\linebreak[4]</template><br>ftanpis (draft) | `10001 01110`<template>\linebreak[4]</template><br>facospis (draft)  | `10001 01111`<template>\linebreak[4]</template><br>fatanpis (draft) |
+| 10010                                         | `10010 01100`<template>\linebreak[4]</template><br>**TBD** (draft)  | `10010 01101`<template>\linebreak[4]</template><br>fsins (draft)   | `10010 01110`<template>\linebreak[4]</template><br>fatan2s (draft)   | `10010 01111`<template>\linebreak[4]</template><br>fasins (draft)   |
+| 10011                                         | `10011 01100`<template>\linebreak[4]</template><br>fcoss (draft)    | `10011 01101`<template>\linebreak[4]</template><br>ftans (draft)   | `10011 01110`<template>\linebreak[4]</template><br>facoss (draft)    | `10011 01111`<template>\linebreak[4]</template><br>fatans (draft)   |
+| 10100                                         | `10100 01100`<template>\linebreak[4]</template><br>**TBD** (draft)  | `10100 01101`<template>\linebreak[4]</template><br>fsinhs (draft)  | `10100 01110`<template>\linebreak[4]</template><br>fhypots (draft)   | `10100 01111`<template>\linebreak[4]</template><br>fasinhs (draft)  |
+| 10101                                         | `10101 01100`<template>\linebreak[4]</template><br>fcoshs (draft)   | `10101 01101`<template>\linebreak[4]</template><br>ftanhs (draft)  | `10101 01110`<template>\linebreak[4]</template><br>facoshs (draft)   | `10101 01111`<template>\linebreak[4]</template><br>fatanhs (draft)  |
+| 10110                                         | `10110 01100`<template>\linebreak[4]</template><br>**TBD** (draft)  | `10110 01101`<template>\linebreak[4]</template><br>**TBD** (draft) | `10110 01110`<template>\linebreak[4]</template><br>**TBD** (draft)   | `10110 01111`<template>\linebreak[4]</template><br>**TBD** (draft)  |
+| 10111                                         | `10111 01100`<template>\linebreak[4]</template><br>**TBD** (draft)  | `10111 01101`<template>\linebreak[4]</template><br>**TBD** (draft) | `10111 01110`<template>\linebreak[4]</template><br>**TBD** (draft)   | `10111 01111`<template>\linebreak[4]</template><br>**TBD** (draft)  |
 
 ## PO=63 XO=10--011--