Fix section header in supported instructions document (#15)

The Markdown to HTML generator Github uses appears to want a newline after HTML
in order to recognise Markdown tags. Fix the document and generator to do this.
This commit is contained in:
mmc28a 2022-01-18 10:51:59 +00:00 committed by GitHub
parent dedebbf881
commit c02b4be20d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 59 additions and 1 deletions

View File

@ -24,6 +24,7 @@ AArch64 integer instructions
---------------------------- ----------------------------
<a id="integer-a"> <a id="integer-a">
### ADC ### ### ADC ###
Add with carry bit. Add with carry bit.
@ -214,6 +215,7 @@ Convert floating-point condition flags from Arm format to alternative format _(A
<a id="integer-b"> <a id="integer-b">
### B ### ### B ###
Conditional branch to PC offset. Conditional branch to PC offset.
@ -392,6 +394,7 @@ Branch target identification.
<a id="integer-c"> <a id="integer-c">
### CAS ### ### CAS ###
Compare and Swap word or doubleword in memory _(Armv8.1)_. Compare and Swap word or doubleword in memory _(Armv8.1)_.
@ -749,6 +752,7 @@ Conditional select negation: rd = cond ? rn : -rm.
<a id="integer-d"> <a id="integer-d">
### DC ### ### DC ###
System data cache operation. System data cache operation.
@ -771,6 +775,7 @@ Data synchronization barrier.
<a id="integer-e"> <a id="integer-e">
### EON ### ### EON ###
Bitwise enor/xnor (A ^ ~B). Bitwise enor/xnor (A ^ ~B).
@ -803,6 +808,7 @@ Extract.
<a id="integer-h"> <a id="integer-h">
### HINT ### ### HINT ###
System hint (named type). System hint (named type).
@ -825,6 +831,7 @@ Halting debug-mode breakpoint.
<a id="integer-i"> <a id="integer-i">
### IC ### ### IC ###
System instruction cache operation. System instruction cache operation.
@ -840,6 +847,7 @@ Instruction synchronization barrier.
<a id="integer-l"> <a id="integer-l">
### LDADD ### ### LDADD ###
Atomic add on word or doubleword in memory _(Armv8.1)_ Atomic add on word or doubleword in memory _(Armv8.1)_
@ -1877,6 +1885,7 @@ Logical shift right by variable.
<a id="integer-m"> <a id="integer-m">
### MADD ### ### MADD ###
Multiply and accumulate. Multiply and accumulate.
@ -1968,6 +1977,7 @@ Move inverted operand to register.
<a id="integer-n"> <a id="integer-n">
### NEG ### ### NEG ###
Negate. Negate.
@ -2004,6 +2014,7 @@ No-op.
<a id="integer-o"> <a id="integer-o">
### ORN ### ### ORN ###
Bitwise nor (A | ~B). Bitwise nor (A | ~B).
@ -2019,6 +2030,7 @@ Bitwise or (A | B).
<a id="integer-p"> <a id="integer-p">
### PACDA ### ### PACDA ###
Pointer Authentication Code for Data address, using key A _(Armv8.3)_. Pointer Authentication Code for Data address, using key A _(Armv8.3)_.
@ -2189,6 +2201,7 @@ Prefetch memory (with unscaled offset, allowing unallocated hints).
<a id="integer-r"> <a id="integer-r">
### RBIT ### ### RBIT ###
Bit reverse. Bit reverse.
@ -2267,6 +2280,7 @@ Rotate right by variable.
<a id="integer-s"> <a id="integer-s">
### SBC ### ### SBC ###
Subtract with carry bit. Subtract with carry bit.
@ -3040,6 +3054,7 @@ System instruction.
<a id="integer-t"> <a id="integer-t">
### TBNZ ### ### TBNZ ###
Test bit and branch to PC offset if not zero. Test bit and branch to PC offset if not zero.
@ -3076,6 +3091,7 @@ Bit test and set flags.
<a id="integer-u"> <a id="integer-u">
### UBFIZ ### ### UBFIZ ###
Unsigned bitfield insert with zero at right. Unsigned bitfield insert with zero at right.
@ -3176,6 +3192,7 @@ Unsigned extend word.
<a id="integer-x"> <a id="integer-x">
### XAFLAG ### ### XAFLAG ###
Convert floating-point condition flags from alternative format to Arm format _(Armv8.5)_. Convert floating-point condition flags from alternative format to Arm format _(Armv8.5)_.
@ -3209,6 +3226,7 @@ AArch64 floating point and NEON instructions
-------------------------------------------- --------------------------------------------
<a id="float-a"> <a id="float-a">
### ABS ### ### ABS ###
Absolute value. Absolute value.
@ -3266,6 +3284,7 @@ Bitwise and.
<a id="float-b"> <a id="float-b">
### BIC ### ### BIC ###
Bit clear immediate. Bit clear immediate.
@ -3302,6 +3321,7 @@ Bitwise select.
<a id="float-c"> <a id="float-c">
### CLS ### ### CLS ###
Count leading sign bits. Count leading sign bits.
@ -3401,6 +3421,7 @@ Population count per byte.
<a id="float-d"> <a id="float-d">
### DUP ### ### DUP ###
Duplicate general-purpose register to vector. Duplicate general-purpose register to vector.
@ -3416,6 +3437,7 @@ Duplicate vector element to vector or scalar.
<a id="float-e"> <a id="float-e">
### EOR ### ### EOR ###
Bitwise eor. Bitwise eor.
@ -3434,6 +3456,7 @@ Extract vector from pair of vectors.
<a id="float-f"> <a id="float-f">
### FABD ### ### FABD ###
FP absolute difference. FP absolute difference.
@ -4316,6 +4339,7 @@ FP subtract.
<a id="float-i"> <a id="float-i">
### INS ### ### INS ###
Insert vector element from another vector element. Insert vector element from another vector element.
@ -4334,6 +4358,7 @@ Insert vector element from general-purpose register.
<a id="float-l"> <a id="float-l">
### LD1 ### ### LD1 ###
One-element single structure load to one lane. One-element single structure load to one lane.
@ -4473,6 +4498,7 @@ Four-element single structure load to all lanes.
<a id="float-m"> <a id="float-m">
### MLA ### ### MLA ###
Multiply-add by scalar element. Multiply-add by scalar element.
@ -4590,6 +4616,7 @@ Vector move inverted immediate.
<a id="float-n"> <a id="float-n">
### NEG ### ### NEG ###
Negate. Negate.
@ -4605,6 +4632,7 @@ Bitwise not.
<a id="float-o"> <a id="float-o">
### ORN ### ### ORN ###
Bitwise orn. Bitwise orn.
@ -4627,6 +4655,7 @@ Bitwise or.
<a id="float-p"> <a id="float-p">
### PMUL ### ### PMUL ###
Polynomial multiply. Polynomial multiply.
@ -4649,6 +4678,7 @@ Polynomial multiply long (second part).
<a id="float-r"> <a id="float-r">
### RADDHN ### ### RADDHN ###
Rounding add narrow returning high half. Rounding add narrow returning high half.
@ -4720,6 +4750,7 @@ Rounding subtract narrow returning high half (second part).
<a id="float-s"> <a id="float-s">
### SABA ### ### SABA ###
Signed absolute difference and accumulate. Signed absolute difference and accumulate.
@ -5620,6 +5651,7 @@ Signed extend long (second part).
<a id="float-t"> <a id="float-t">
### TBL ### ### TBL ###
Table lookup from four registers. Table lookup from four registers.
@ -5715,6 +5747,7 @@ Transpose vectors (secondary).
<a id="float-u"> <a id="float-u">
### UABA ### ### UABA ###
Unsigned absolute difference and accumulate. Unsigned absolute difference and accumulate.
@ -6251,6 +6284,7 @@ Unzip vectors (secondary).
<a id="float-x"> <a id="float-x">
### XTN ### ### XTN ###
Extract narrow. Extract narrow.
@ -6266,6 +6300,7 @@ Extract narrow (second part).
<a id="float-z"> <a id="float-z">
### ZIP1 ### ### ZIP1 ###
Zip vectors (primary). Zip vectors (primary).
@ -6285,6 +6320,7 @@ AArch64 Scalable Vector Extension (SVE) instructions
---------------------------------------------------- ----------------------------------------------------
<a id="sve-a"> <a id="sve-a">
### ABS ### ### ABS ###
Absolute value (predicated). Absolute value (predicated).
@ -6481,6 +6517,7 @@ Reversed arithmetic shift right by vector (predicated).
<a id="sve-b"> <a id="sve-b">
### BCAX ### ### BCAX ###
Bitwise clear and exclusive OR. Bitwise clear and exclusive OR.
@ -6683,6 +6720,7 @@ Bitwise select with second input inverted.
<a id="sve-c"> <a id="sve-c">
### CADD ### ### CADD ###
Complex integer add with rotate. Complex integer add with rotate.
@ -7114,6 +7152,7 @@ Compare and terminate loop.
<a id="sve-d"> <a id="sve-d">
### DECB ### ### DECB ###
Decrement scalar by multiple of predicate constraint element count. Decrement scalar by multiple of predicate constraint element count.
@ -7206,6 +7245,7 @@ Broadcast logical bitmask immediate to vector (unpredicated).
<a id="sve-e"> <a id="sve-e">
### EON ### ### EON ###
Bitwise exclusive OR with inverted immediate (unpredicated). Bitwise exclusive OR with inverted immediate (unpredicated).
@ -7299,6 +7339,7 @@ Extract vector from pair of vectors.
<a id="sve-f"> <a id="sve-f">
### FABD ### ### FABD ###
Floating-point absolute difference (predicated). Floating-point absolute difference (predicated).
@ -8208,6 +8249,7 @@ Floating-point trigonometric select coefficient.
<a id="sve-h"> <a id="sve-h">
### HISTCNT ### ### HISTCNT ###
Count matching elements in vector. Count matching elements in vector.
@ -8226,6 +8268,7 @@ Count matching elements in vector segments.
<a id="sve-i"> <a id="sve-i">
### INCB ### ### INCB ###
Increment scalar by multiple of predicate constraint element count. Increment scalar by multiple of predicate constraint element count.
@ -8332,6 +8375,7 @@ Insert general-purpose register in shifted vector.
<a id="sve-l"> <a id="sve-l">
### LASTA ### ### LASTA ###
Extract element after last to SIMD&FP scalar register. Extract element after last to SIMD&FP scalar register.
@ -9115,6 +9159,7 @@ Reversed logical shift right by vector (predicated).
<a id="sve-m"> <a id="sve-m">
### MAD ### ### MAD ###
Multiply-add vectors (predicated), writing multiplicand [Zdn = Za + Zdn * Zm]. Multiply-add vectors (predicated), writing multiplicand [Zdn = Za + Zdn * Zm].
@ -9345,6 +9390,7 @@ Multiply vectors (unpredicated).
<a id="sve-n"> <a id="sve-n">
### NAND ### ### NAND ###
Bitwise NAND predicates. Bitwise NAND predicates.
@ -9438,6 +9484,7 @@ Bitwise invert predicate, setting the condition flags.
<a id="sve-o"> <a id="sve-o">
### ORN ### ### ORN ###
Bitwise OR inverted predicate. Bitwise OR inverted predicate.
@ -9517,6 +9564,7 @@ Bitwise OR reduction to scalar.
<a id="sve-p"> <a id="sve-p">
### PFALSE ### ### PFALSE ###
Set all predicate elements to false. Set all predicate elements to false.
@ -9637,6 +9685,7 @@ Unpack and widen half of predicate.
<a id="sve-r"> <a id="sve-r">
### RADDHNB ### ### RADDHNB ###
Rounding add narrow high part (bottom). Rounding add narrow high part (bottom).
@ -9750,6 +9799,7 @@ Rounding subtract narrow high part (top).
<a id="sve-s"> <a id="sve-s">
### SABA ### ### SABA ###
Signed absolute difference and accumulate. Signed absolute difference and accumulate.
@ -11288,6 +11338,7 @@ Signed word extend (predicated).
<a id="sve-t"> <a id="sve-t">
### TBL ### ### TBL ###
Programmable table lookup in one or two vector table (zeroing). Programmable table lookup in one or two vector table (zeroing).
@ -11345,6 +11396,7 @@ Interleave even or odd elements from two vectors.
<a id="sve-u"> <a id="sve-u">
### UABA ### ### UABA ###
Unsigned absolute difference and accumulate. Unsigned absolute difference and accumulate.
@ -12194,6 +12246,7 @@ Concatenate even or odd elements from two vectors.
<a id="sve-w"> <a id="sve-w">
### WHILEGE ### ### WHILEGE ###
While decrementing signed scalar greater than or equal to scalar. While decrementing signed scalar greater than or equal to scalar.
@ -12292,6 +12345,7 @@ Write the first-fault register.
<a id="sve-x"> <a id="sve-x">
### XAR ### ### XAR ###
Bitwise exclusive OR and rotate right by immediate. Bitwise exclusive OR and rotate right by immediate.
@ -12303,6 +12357,7 @@ Bitwise exclusive OR and rotate right by immediate.
<a id="sve-z"> <a id="sve-z">
### ZIP1 ### ### ZIP1 ###
Interleave elements from two half predicates. Interleave elements from two half predicates.
@ -12340,6 +12395,7 @@ Additional or pseudo instructions
--------------------------------- ---------------------------------
<a id="pseudo-b"> <a id="pseudo-b">
### BIND ### ### BIND ###
Bind a label to the current PC. Bind a label to the current PC.
@ -12348,6 +12404,7 @@ Bind a label to the current PC.
<a id="pseudo-d"> <a id="pseudo-d">
### DC ### ### DC ###
Emit data in the instruction stream. Emit data in the instruction stream.
@ -12377,6 +12434,7 @@ Emit raw instructions into the instruction stream.
<a id="pseudo-p"> <a id="pseudo-p">
### PLACE ### ### PLACE ###
Place a literal at the current PC. Place a literal at the current PC.

View File

@ -176,7 +176,7 @@ sub describe_insts
next if($inst{$i}->{'type'} ne $type); next if($inst{$i}->{'type'} ne $type);
unless ($last_initial eq $inst{$i}->{'initial'}) { unless ($last_initial eq $inst{$i}->{'initial'}) {
$last_initial = $inst{$i}->{'initial'}; $last_initial = $inst{$i}->{'initial'};
$result .= sprintf("<a id=\"%s-%s\">\n", lc($type), $last_initial); $result .= sprintf("<a id=\"%s-%s\">\n\n", lc($type), $last_initial);
} }
$result .= sprintf("### %s ###\n\n%s\n\n", $result .= sprintf("### %s ###\n\n%s\n\n",
uc($inst{$i}->{'mnemonic'}), uc($inst{$i}->{'mnemonic'}),