collab/polyglot-riscv-arm
what if the same machine code was valid riscv and arm asm
git clone https://git.julia.blue/collab/polyglot-riscv-arm
885cc4e
main
1< ?xml version="1.0" encoding="utf-8"?> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" > 3< html xmlns ="http://www.w3.org/1999/xhtml ">< head >< link rel ="stylesheet "type ="text/css "href ="insn.css "/>< meta name ="generator "content ="iform.xsl "/>< title > VCMLA (by element) -- AArch32</ title ></ head >< body >< table style ="margin: 0 auto; ">< tr >< td >< div class ="topbar ">< a href ="index.html "> Base Instructions</ a ></ div ></ td >< td >< div class ="topbar ">< a href ="fpsimdindex.html "> SIMD&FP Instructions</ a ></ div ></ td >< td >< div class ="topbar ">< a href ="a32_encindex.html "> A32 Instructions by Encoding</ a ></ div ></ td >< td >< div class ="topbar ">< a href ="t32_encindex.html "> T32 Instructions by Encoding</ a ></ div ></ td >< td >< div class ="topbar ">< a href ="shared_pseudocode.html "> Shared Pseudocode</ a ></ div ></ td >< td >< div class ="topbar ">< a href ="notice.html "> Proprietary Notice</ a ></ div ></ td ></ tr ></ table >< hr />< h2 class ="instruction-section "> VCMLA (by element)</ h2 > 4< p class ="aml "> Vector Complex Multiply Accumulate (by element).</ p > 5< p class ="aml "> This instruction operates on complex numbers that are represented in SIMD&FP registers as pairs of elements, with the more significant element holding the imaginary part of the number and the less significant element holding the real part of the number. Each element holds a floating-point value. It performs the following computation on complex numbers from the first source register and the destination register with the specified complex number from the second source register:</ p > 6< ul > 7< li > Considering the complex number from the second source register on an Argand diagram, the number is rotated counterclockwise by 0, 90, 180, or 270 degrees.</ li > 8< li > The two elements of the transformed complex number are multiplied by:< ul >< li > The real element of the complex number from the first source register, if the transformation was a rotation by 0 or 180 degrees.</ li >< li > The imaginary element of the complex number from the first source register, if the transformation was a rotation by 90 or 270 degrees.</ li ></ ul ></ li > 9< li > The complex number resulting from that multiplication is added to the complex number from the destination register.</ li > 10</ ul > 11< p class ="aml "> The multiplication and addition operations are performed as a fused multiply-add, without any intermediate rounding.</ p > 12< p class ="aml "> Depending on settings in the< a class ="armarm-xref "title ="Reference to Armv8 ARM section "data-linkend ="AArch32.cpacr "> CPACR</ a > ,< a class ="armarm-xref "title ="Reference to Armv8 ARM section "data-linkend ="AArch32.nsacr "> NSACR</ a > , and< a class ="armarm-xref "title ="Reference to Armv8 ARM section "data-linkend ="AArch32.hcptr "> HCPTR</ a > registers, and the Security state and PE mode in which the instruction is executed, an attempt to execute the instruction might be< span class ="arm-defined-word "> undefined</ span > , or trapped to Hyp mode. For more information see< a class ="armarm-xref "title ="Reference to Armv8 ARM section "data-linkend ="CIHIDDFF "> Enabling Advanced SIMD and floating-point support</ a > .</ p > 13 14< p class ="desc "> 15 It has encodings from the following instruction sets: 16 A32 ( 17< a href ="#iclass_a1 "> A1</ a > 18 ) 19 and 20 T32 ( 21< a href ="#iclass_t1 "> T1</ a > 22 ) 23 . 24</ p > 25< h3 class ="classheading ">< a id ="iclass_a1 "/> A1< span style ="font-size:smaller; ">< br /> (FEAT_FCMA) 26</ span ></ h3 >< p class ="desc "/>< div class ="regdiagram-32 ">< table class ="regdiagram ">< thead >< tr >< td > 31</ td >< td > 30</ td >< td > 29</ td >< td > 28</ td >< td > 27</ td >< td > 26</ td >< td > 25</ td >< td > 24</ td >< td > 23</ td >< td > 22</ td >< td > 21</ td >< td > 20</ td >< td > 19</ td >< td > 18</ td >< td > 17</ td >< td > 16</ td >< td > 15</ td >< td > 14</ td >< td > 13</ td >< td > 12</ td >< td > 11</ td >< td > 10</ td >< td > 9</ td >< td > 8</ td >< td > 7</ td >< td > 6</ td >< td > 5</ td >< td > 4</ td >< td > 3</ td >< td > 2</ td >< td > 1</ td >< td > 0</ td ></ tr ></ thead >< tbody >< tr class ="firstrow ">< td class ="l "> 1</ td >< td > 1</ td >< td > 1</ td >< td > 1</ td >< td > 1</ td >< td > 1</ td >< td > 1</ td >< td class ="r "> 0</ td >< td class ="lr "> S</ td >< td class ="lr "> D</ td >< td colspan ="2 "class ="lr "> rot</ td >< td colspan ="4 "class ="lr "> Vn</ td >< td colspan ="4 "class ="lr "> Vd</ td >< td class ="l "> 1</ td >< td > 0</ td >< td > 0</ td >< td class ="r "> 0</ td >< td class ="lr "> N</ td >< td class ="lr "> Q</ td >< td class ="lr "> M</ td >< td class ="lr "> 0</ td >< td colspan ="4 "class ="lr "> Vm</ td ></ tr ></ tbody ></ table ></ div >< div class ="encoding ">< h4 class ="encoding "> 64-bit SIMD vector of half-precision floating-point< span class ="bitdiff "> (S == 0 && Q == 0)</ span ></ h4 >< a id ="VCMLA_s_A1_DH "/>< p class ="asm-code "> VCMLA{< a href ="#sa_q "title ="See {xref{ARMARM_Babbefhf}{Standard assembler syntax fields}} "> <q></ a > }.F16< a href ="#sa_dd "title ="64-bit SIMD&FP destination register (field "D:Vd") "> <Dd></ a > ,< a href ="#sa_dn "title ="First 64-bit SIMD&FP source register (field "N:Vn") "> <Dn></ a > ,< a href ="#sa_dm "title ="Second 64-bit SIMD&FP source register (field "Vm") "> <Dm></ a > [< a href ="#sa_index "title ="Element index [0-1] (field "M") "> <index></ a > ], #< a href ="#sa_rotate "title ="Rotation applied to elements in the second SIMD&FP source register (field "rot") [0,90,180,270] "> <rotate></ a ></ p ></ div >< div class ="encoding ">< h4 class ="encoding "> 64-bit SIMD vector of single-precision floating-point< span class ="bitdiff "> (S == 1 && Q == 0)</ span ></ h4 >< a id ="VCMLA_s_A1_DS "/>< p class ="asm-code "> VCMLA{< a href ="#sa_q "title ="See {xref{ARMARM_Babbefhf}{Standard assembler syntax fields}} "> <q></ a > }.F32< a href ="#sa_dd "title ="64-bit SIMD&FP destination register (field "D:Vd") "> <Dd></ a > ,< a href ="#sa_dn "title ="First 64-bit SIMD&FP source register (field "N:Vn") "> <Dn></ a > ,< a href ="#sa_dm_1 "title ="Second 64-bit SIMD&FP source register (field "M:Vm") "> <Dm></ a > [0], #< a href ="#sa_rotate "title ="Rotation applied to elements in the second SIMD&FP source register (field "rot") [0,90,180,270] "> <rotate></ a ></ p ></ div >< div class ="encoding ">< h4 class ="encoding "> 128-bit SIMD vector of half-precision floating-point< span class ="bitdiff "> (S == 0 && Q == 1)</ span ></ h4 >< a id ="VCMLA_s_A1_QH "/>< p class ="asm-code "> VCMLA{< a href ="#sa_q "title ="See {xref{ARMARM_Babbefhf}{Standard assembler syntax fields}} "> <q></ a > }.F16< a href ="#sa_qd "title ="128-bit SIMD&FP destination register (field "D:Vd") "> <Qd></ a > ,< a href ="#sa_qn "title ="First 128-bit SIMD&FP source register (field "N:Vn") "> <Qn></ a > ,< a href ="#sa_dm "title ="Second 64-bit SIMD&FP source register (field "Vm") "> <Dm></ a > [< a href ="#sa_index "title ="Element index [0-1] (field "M") "> <index></ a > ], #< a href ="#sa_rotate "title ="Rotation applied to elements in the second SIMD&FP source register (field "rot") [0,90,180,270] "> <rotate></ a ></ p ></ div >< div class ="encoding ">< h4 class ="encoding "> 128-bit SIMD vector of single-precision floating-point< span class ="bitdiff "> (S == 1 && Q == 1)</ span ></ h4 >< a id ="VCMLA_s_A1_QS "/>< p class ="asm-code "> VCMLA{< a href ="#sa_q "title ="See {xref{ARMARM_Babbefhf}{Standard assembler syntax fields}} "> <q></ a > }.F32< a href ="#sa_qd "title ="128-bit SIMD&FP destination register (field "D:Vd") "> <Qd></ a > ,< a href ="#sa_qn "title ="First 128-bit SIMD&FP source register (field "N:Vn") "> <Qn></ a > ,< a href ="#sa_dm_1 "title ="Second 64-bit SIMD&FP source register (field "M:Vm") "> <Dm></ a > [0], #< a href ="#sa_rotate "title ="Rotation applied to elements in the second SIMD&FP source register (field "rot") [0,90,180,270] "> <rotate></ a ></ p ></ div >< p class ="pseudocode "> if !IsFeatureImplemented(FEAT_FCMA) then UNDEFINED; 27if Q == '1' && (Vd<0> == '1' || Vn<0> == '1') then UNDEFINED; 28constant d =< a href ="shared_pseudocode.html#impl-shared.UInt.1 "title ="function: integer UInt(bits(N) x) "> UInt</ a > (D:Vd); constant n =< a href ="shared_pseudocode.html#impl-shared.UInt.1 "title ="function: integer UInt(bits(N) x) "> UInt</ a > (N:Vn); 29constant m = if S=='1' then< a href ="shared_pseudocode.html#impl-shared.UInt.1 "title ="function: integer UInt(bits(N) x) "> UInt</ a > (M:Vm) else< a href ="shared_pseudocode.html#impl-shared.UInt.1 "title ="function: integer UInt(bits(N) x) "> UInt</ a > (Vm); 30constant integer esize = 16 <<< a href ="shared_pseudocode.html#impl-shared.UInt.1 "title ="function: integer UInt(bits(N) x) "> UInt</ a > (S); 31if !IsFeatureImplemented(FEAT_FP16) && esize == 16 then UNDEFINED; 32constant elements = 64 DIV esize; 33constant regs = if Q == '0' then 1 else 2; 34constant index = if S=='1' then 0 else< a href ="shared_pseudocode.html#impl-shared.UInt.1 "title ="function: integer UInt(bits(N) x) "> UInt</ a > (M);</ p > 35< h3 class ="classheading ">< a id ="iclass_t1 "/> T1< span style ="font-size:smaller; ">< br /> (FEAT_FCMA) 36</ span ></ h3 >< p class ="desc "/>< div class ="regdiagram-16x2 ">< table class ="regdiagram ">< thead >< tr >< td > 15</ td >< td > 14</ td >< td > 13</ td >< td > 12</ td >< td > 11</ td >< td > 10</ td >< td > 9</ td >< td > 8</ td >< td > 7</ td >< td > 6</ td >< td > 5</ td >< td > 4</ td >< td > 3</ td >< td > 2</ td >< td > 1</ td >< td > 0</ td >< td > 15</ td >< td > 14</ td >< td > 13</ td >< td > 12</ td >< td > 11</ td >< td > 10</ td >< td > 9</ td >< td > 8</ td >< td > 7</ td >< td > 6</ td >< td > 5</ td >< td > 4</ td >< td > 3</ td >< td > 2</ td >< td > 1</ td >< td > 0</ td ></ tr ></ thead >< tbody >< tr class ="firstrow ">< td class ="l "> 1</ td >< td > 1</ td >< td > 1</ td >< td > 1</ td >< td > 1</ td >< td > 1</ td >< td > 1</ td >< td class ="r "> 0</ td >< td class ="lr "> S</ td >< td class ="lr "> D</ td >< td colspan ="2 "class ="lr "> rot</ td >< td colspan ="4 "class ="lr "> Vn</ td >< td colspan ="4 "class ="lr "> Vd</ td >< td class ="l "> 1</ td >< td > 0</ td >< td > 0</ td >< td class ="r "> 0</ td >< td class ="lr "> N</ td >< td class ="lr "> Q</ td >< td class ="lr "> M</ td >< td class ="lr "> 0</ td >< td colspan ="4 "class ="lr "> Vm</ td ></ tr ></ tbody ></ table ></ div >< div class ="encoding ">< h4 class ="encoding "> 64-bit SIMD vector of half-precision floating-point< span class ="bitdiff "> (S == 0 && Q == 0)</ span ></ h4 >< a id ="VCMLA_s_T1_DH "/>< p class ="asm-code "> VCMLA{< a href ="#sa_q "title ="See {xref{ARMARM_Babbefhf}{Standard assembler syntax fields}} "> <q></ a > }.F16< a href ="#sa_dd "title ="64-bit SIMD&FP destination register (field "D:Vd") "> <Dd></ a > ,< a href ="#sa_dn "title ="First 64-bit SIMD&FP source register (field "N:Vn") "> <Dn></ a > ,< a href ="#sa_dm "title ="Second 64-bit SIMD&FP source register (field "Vm") "> <Dm></ a > [< a href ="#sa_index "title ="Element index [0-1] (field "M") "> <index></ a > ], #< a href ="#sa_rotate "title ="Rotation applied to elements in the second SIMD&FP source register (field "rot") [0,90,180,270] "> <rotate></ a ></ p ></ div >< div class ="encoding ">< h4 class ="encoding "> 64-bit SIMD vector of single-precision floating-point< span class ="bitdiff "> (S == 1 && Q == 0)</ span ></ h4 >< a id ="VCMLA_s_T1_DS "/>< p class ="asm-code "> VCMLA{< a href ="#sa_q "title ="See {xref{ARMARM_Babbefhf}{Standard assembler syntax fields}} "> <q></ a > }.F32< a href ="#sa_dd "title ="64-bit SIMD&FP destination register (field "D:Vd") "> <Dd></ a > ,< a href ="#sa_dn "title ="First 64-bit SIMD&FP source register (field "N:Vn") "> <Dn></ a > ,< a href ="#sa_dm_1 "title ="Second 64-bit SIMD&FP source register (field "M:Vm") "> <Dm></ a > [0], #< a href ="#sa_rotate "title ="Rotation applied to elements in the second SIMD&FP source register (field "rot") [0,90,180,270] "> <rotate></ a ></ p ></ div >< div class ="encoding ">< h4 class ="encoding "> 128-bit SIMD vector of half-precision floating-point< span class ="bitdiff "> (S == 0 && Q == 1)</ span ></ h4 >< a id ="VCMLA_s_T1_QH "/>< p class ="asm-code "> VCMLA{< a href ="#sa_q "title ="See {xref{ARMARM_Babbefhf}{Standard assembler syntax fields}} "> <q></ a > }.F16< a href ="#sa_qd "title ="128-bit SIMD&FP destination register (field "D:Vd") "> <Qd></ a > ,< a href ="#sa_qn "title ="First 128-bit SIMD&FP source register (field "N:Vn") "> <Qn></ a > ,< a href ="#sa_dm "title ="Second 64-bit SIMD&FP source register (field "Vm") "> <Dm></ a > [< a href ="#sa_index "title ="Element index [0-1] (field "M") "> <index></ a > ], #< a href ="#sa_rotate "title ="Rotation applied to elements in the second SIMD&FP source register (field "rot") [0,90,180,270] "> <rotate></ a ></ p ></ div >< div class ="encoding ">< h4 class ="encoding "> 128-bit SIMD vector of single-precision floating-point< span class ="bitdiff "> (S == 1 && Q == 1)</ span ></ h4 >< a id ="VCMLA_s_T1_QS "/>< p class ="asm-code "> VCMLA{< a href ="#sa_q "title ="See {xref{ARMARM_Babbefhf}{Standard assembler syntax fields}} "> <q></ a > }.F32< a href ="#sa_qd "title ="128-bit SIMD&FP destination register (field "D:Vd") "> <Qd></ a > ,< a href ="#sa_qn "title ="First 128-bit SIMD&FP source register (field "N:Vn") "> <Qn></ a > ,< a href ="#sa_dm_1 "title ="Second 64-bit SIMD&FP source register (field "M:Vm") "> <Dm></ a > [0], #< a href ="#sa_rotate "title ="Rotation applied to elements in the second SIMD&FP source register (field "rot") [0,90,180,270] "> <rotate></ a ></ p ></ div >< p class ="pseudocode "> if< a href ="shared_pseudocode.html#impl-aarch32.InITBlock.0 "title ="function: boolean InITBlock() "> InITBlock</ a > () then UNPREDICTABLE; 37if !IsFeatureImplemented(FEAT_FCMA) then UNDEFINED; 38if Q == '1' && (Vd<0> == '1' || Vn<0> == '1') then UNDEFINED; 39constant d =< a href ="shared_pseudocode.html#impl-shared.UInt.1 "title ="function: integer UInt(bits(N) x) "> UInt</ a > (D:Vd); constant n =< a href ="shared_pseudocode.html#impl-shared.UInt.1 "title ="function: integer UInt(bits(N) x) "> UInt</ a > (N:Vn); 40constant m = if S=='1' then< a href ="shared_pseudocode.html#impl-shared.UInt.1 "title ="function: integer UInt(bits(N) x) "> UInt</ a > (M:Vm) else< a href ="shared_pseudocode.html#impl-shared.UInt.1 "title ="function: integer UInt(bits(N) x) "> UInt</ a > (Vm); 41constant integer esize = 16 <<< a href ="shared_pseudocode.html#impl-shared.UInt.1 "title ="function: integer UInt(bits(N) x) "> UInt</ a > (S); 42if !IsFeatureImplemented(FEAT_FP16) && esize == 16 then UNDEFINED; 43constant elements = 64 DIV esize; 44constant regs = if Q == '0' then 1 else 2; 45constant index = if S=='1' then 0 else< a href ="shared_pseudocode.html#impl-shared.UInt.1 "title ="function: integer UInt(bits(N) x) "> UInt</ a > (M);</ p > 46< div class ="encoding-notes "/>< h3 class ="explanations "> Assembler Symbols</ h3 >< div class ="explanations ">< table >< col class ="asyn-l "/>< col class ="asyn-r "/>< tr >< td > <q></ td >< td >< a id ="sa_q "/> 47 48< p class ="aml "> See< a class ="armarm-xref "title ="Reference to Armv8 ARM section "data-linkend ="Babbefhf "> Standard assembler syntax fields</ a > .</ p > 49 50</ td ></ tr ></ table >< table >< col class ="asyn-l "/>< col class ="asyn-r "/>< tr >< td > <Qd></ td >< td >< a id ="sa_qd "/> 51 52< p class ="aml "> Is the 128-bit name of the SIMD&FP destination register, encoded in the "D:Vd" field as <Qd>*2.</ p > 53 54</ td ></ tr ></ table >< table >< col class ="asyn-l "/>< col class ="asyn-r "/>< tr >< td > <Qn></ td >< td >< a id ="sa_qn "/> 55 56< p class ="aml "> Is the 128-bit name of the first SIMD&FP source register, encoded in the "N:Vn" field as <Qn>*2.</ p > 57 58</ td ></ tr ></ table >< table >< col class ="asyn-l "/>< col class ="asyn-r "/>< tr >< td > <Dd></ td >< td >< a id ="sa_dd "/> 59 60< p class ="aml "> Is the 64-bit name of the SIMD&FP destination register, encoded in the "D:Vd" field.</ p > 61 62</ td ></ tr ></ table >< table >< col class ="asyn-l "/>< col class ="asyn-r "/>< tr >< td > <Dn></ td >< td >< a id ="sa_dn "/> 63 64< p class ="aml "> Is the 64-bit name of the first SIMD&FP source register, encoded in the "N:Vn" field.</ p > 65 66</ td ></ tr ></ table >< table >< col class ="asyn-l "/>< col class ="asyn-r "/>< tr >< td > <Dm></ td >< td >< a id ="sa_dm "/> 67 68 69 70 71 72< p class ="aml "> For the half-precision scalar variant: is the 64-bit name of the second SIMD&FP source register, encoded in the "Vm" field.</ p > 73 74</ td ></ tr >< tr >< td />< td >< a id ="sa_dm_1 "/> 75 76 77 78 79 80< p class ="aml "> For the single-precision scalar variant: is the 64-bit name of the second SIMD&FP source register, encoded in the "M:Vm" field.</ p > 81 82</ td ></ tr ></ table >< table >< col class ="asyn-l "/>< col class ="asyn-r "/>< tr >< td > <index></ td >< td >< a id ="sa_index "/> 83 84< p class ="aml "> Is the element index in the range 0 to 1, encoded in the "M" field.</ p > 85 86</ td ></ tr ></ table >< table >< col class ="asyn-l "/>< col class ="asyn-r "/>< tr >< td > <rotate></ td >< td >< a id ="sa_rotate "/> 87< p > Is the rotation to be applied to elements in the second SIMD&FP source register, 88 encoded in 89< q > rot</ q > : 90</ p > 91< table class ="valuetable "> 92 93< thead > 94< tr > 95< th class ="bitfield "> rot</ th > 96< th class ="symbol "> <rotate></ th > 97</ tr > 98</ thead > 99< tbody > 100< tr > 101< td class ="bitfield "> 00</ td > 102< td class ="symbol "> 0</ td > 103</ tr > 104< tr > 105< td class ="bitfield "> 01</ td > 106< td class ="symbol "> 90</ td > 107</ tr > 108< tr > 109< td class ="bitfield "> 10</ td > 110< td class ="symbol "> 180</ td > 111</ tr > 112< tr > 113< td class ="bitfield "> 11</ td > 114< td class ="symbol "> 270</ td > 115</ tr > 116</ tbody > 117 118</ table > 119</ td ></ tr ></ table ></ div >< div class ="syntax-notes "/> 120< div class ="ps ">< a id ="execute "/>< h3 class ="pseudocode "> Operation</ h3 > 121< p class ="pseudocode "> EncodingSpecificOperations(); 122< a href ="shared_pseudocode.html#impl-aarch32.CheckAdvSIMDEnabled.0 "title ="function: CheckAdvSIMDEnabled() "> CheckAdvSIMDEnabled</ a > (); 123constant< a href ="shared_pseudocode.html#FPCR_Type "title ="type FPCR_Type "> FPCR_Type</ a > fpcr =< a href ="shared_pseudocode.html#impl-aarch32.StandardFPCR.0 "title ="function: FPCR_Type StandardFPCR() "> StandardFPCR</ a > (); 124for r = 0 to regs-1 125 constant operand1 =< a href ="shared_pseudocode.html#impl-aarch32.D.read.1 "title ="accessor: bits(64) D[integer n] "> D</ a > [n+r]; 126 constant operand2 =< a href ="shared_pseudocode.html#impl-aarch32.Din.read.1 "title ="accessor: bits(64) Din[integer n] "> Din</ a > [m]; 127 constant operand3 =< a href ="shared_pseudocode.html#impl-aarch32.D.read.1 "title ="accessor: bits(64) D[integer n] "> D</ a > [d+r]; 128 for e = 0 to (elements DIV 2)-1 129 bits(esize) element1; 130 bits(esize) element2; 131 bits(esize) element3; 132 bits(esize) element4; 133 case rot of 134 when '00' 135 element1 =< a href ="shared_pseudocode.html#impl-shared.Elem.read.3 "title ="accessor: bits(size) Elem[bits(N) vector, integer e, integer size] "> Elem</ a > [operand2,index*2,esize]; 136 element2 =< a href ="shared_pseudocode.html#impl-shared.Elem.read.3 "title ="accessor: bits(size) Elem[bits(N) vector, integer e, integer size] "> Elem</ a > [operand1,e*2,esize]; 137 element3 =< a href ="shared_pseudocode.html#impl-shared.Elem.read.3 "title ="accessor: bits(size) Elem[bits(N) vector, integer e, integer size] "> Elem</ a > [operand2,index*2+1,esize]; 138 element4 =< a href ="shared_pseudocode.html#impl-shared.Elem.read.3 "title ="accessor: bits(size) Elem[bits(N) vector, integer e, integer size] "> Elem</ a > [operand1,e*2,esize]; 139 when '01' 140 element1 =< a href ="shared_pseudocode.html#impl-shared.FPNeg.2 "title ="function: bits(N) FPNeg(bits(N) op, FPCR_Type fpcr) "> FPNeg</ a > (< a href ="shared_pseudocode.html#impl-shared.Elem.read.3 "title ="accessor: bits(size) Elem[bits(N) vector, integer e, integer size] "> Elem</ a > [operand2,index*2+1,esize], fpcr); 141 element2 =< a href ="shared_pseudocode.html#impl-shared.Elem.read.3 "title ="accessor: bits(size) Elem[bits(N) vector, integer e, integer size] "> Elem</ a > [operand1,e*2+1,esize]; 142 element3 =< a href ="shared_pseudocode.html#impl-shared.Elem.read.3 "title ="accessor: bits(size) Elem[bits(N) vector, integer e, integer size] "> Elem</ a > [operand2,index*2,esize]; 143 element4 =< a href ="shared_pseudocode.html#impl-shared.Elem.read.3 "title ="accessor: bits(size) Elem[bits(N) vector, integer e, integer size] "> Elem</ a > [operand1,e*2+1,esize]; 144 when '10' 145 element1 =< a href ="shared_pseudocode.html#impl-shared.FPNeg.2 "title ="function: bits(N) FPNeg(bits(N) op, FPCR_Type fpcr) "> FPNeg</ a > (< a href ="shared_pseudocode.html#impl-shared.Elem.read.3 "title ="accessor: bits(size) Elem[bits(N) vector, integer e, integer size] "> Elem</ a > [operand2,index*2,esize], fpcr); 146 element2 =< a href ="shared_pseudocode.html#impl-shared.Elem.read.3 "title ="accessor: bits(size) Elem[bits(N) vector, integer e, integer size] "> Elem</ a > [operand1,e*2,esize]; 147 element3 =< a href ="shared_pseudocode.html#impl-shared.FPNeg.2 "title ="function: bits(N) FPNeg(bits(N) op, FPCR_Type fpcr) "> FPNeg</ a > (< a href ="shared_pseudocode.html#impl-shared.Elem.read.3 "title ="accessor: bits(size) Elem[bits(N) vector, integer e, integer size] "> Elem</ a > [operand2,index*2+1,esize], fpcr); 148 element4 =< a href ="shared_pseudocode.html#impl-shared.Elem.read.3 "title ="accessor: bits(size) Elem[bits(N) vector, integer e, integer size] "> Elem</ a > [operand1,e*2,esize]; 149 when '11' 150 element1 =< a href ="shared_pseudocode.html#impl-shared.Elem.read.3 "title ="accessor: bits(size) Elem[bits(N) vector, integer e, integer size] "> Elem</ a > [operand2,index*2+1,esize]; 151 element2 =< a href ="shared_pseudocode.html#impl-shared.Elem.read.3 "title ="accessor: bits(size) Elem[bits(N) vector, integer e, integer size] "> Elem</ a > [operand1,e*2+1,esize]; 152 element3 =< a href ="shared_pseudocode.html#impl-shared.FPNeg.2 "title ="function: bits(N) FPNeg(bits(N) op, FPCR_Type fpcr) "> FPNeg</ a > (< a href ="shared_pseudocode.html#impl-shared.Elem.read.3 "title ="accessor: bits(size) Elem[bits(N) vector, integer e, integer size] "> Elem</ a > [operand2,index*2,esize], fpcr); 153 element4 =< a href ="shared_pseudocode.html#impl-shared.Elem.read.3 "title ="accessor: bits(size) Elem[bits(N) vector, integer e, integer size] "> Elem</ a > [operand1,e*2+1,esize]; 154 constant result1 =< a href ="shared_pseudocode.html#impl-shared.FPMulAdd.4 "title ="function: bits(N) FPMulAdd(bits(N) addend, bits(N) op1, bits(N) op2, FPCR_Type fpcr) "> FPMulAdd</ a > (< a href ="shared_pseudocode.html#impl-shared.Elem.read.3 "title ="accessor: bits(size) Elem[bits(N) vector, integer e, integer size] "> Elem</ a > [operand3,e*2,esize],element2,element1, fpcr); 155 constant result2 =< a href ="shared_pseudocode.html#impl-shared.FPMulAdd.4 "title ="function: bits(N) FPMulAdd(bits(N) addend, bits(N) op1, bits(N) op2, FPCR_Type fpcr) "> FPMulAdd</ a > (< a href ="shared_pseudocode.html#impl-shared.Elem.read.3 "title ="accessor: bits(size) Elem[bits(N) vector, integer e, integer size] "> Elem</ a > [operand3,e*2+1,esize],element4,element3,fpcr); 156< a href ="shared_pseudocode.html#impl-shared.Elem.write.3 "title ="accessor: Elem[bits(N) &vector, integer e, integer size] = bits(size) value "> Elem</ a > [< a href ="shared_pseudocode.html#impl-aarch32.D.write.1 "title ="accessor: D[integer n] = bits(64) value "> D</ a > [d+r],e*2,esize] = result1; 157< a href ="shared_pseudocode.html#impl-shared.Elem.write.3 "title ="accessor: Elem[bits(N) &vector, integer e, integer size] = bits(size) value "> Elem</ a > [< a href ="shared_pseudocode.html#impl-aarch32.D.write.1 "title ="accessor: D[integer n] = bits(64) value "> D</ a > [d+r],e*2+1,esize] = result2;</ p > 158</ div > 159< hr />< table style ="margin: 0 auto; ">< tr >< td >< div class ="topbar ">< a href ="index.html "> Base Instructions</ a ></ div ></ td >< td >< div class ="topbar ">< a href ="fpsimdindex.html "> SIMD&FP Instructions</ a ></ div ></ td >< td >< div class ="topbar ">< a href ="a32_encindex.html "> A32 Instructions by Encoding</ a ></ div ></ td >< td >< div class ="topbar ">< a href ="t32_encindex.html "> T32 Instructions by Encoding</ a ></ div ></ td >< td >< div class ="topbar ">< a href ="shared_pseudocode.html "> Shared Pseudocode</ a ></ div ></ td >< td >< div class ="topbar ">< a href ="notice.html "> Proprietary Notice</ a ></ div ></ td ></ tr ></ table >< p class ="versions "> 160 Internal version only: isa v01_31, pseudocode v2024-09_rel 161 ; Build timestamp: 2024-09-26T13:26 162</ p >< p class ="copyconf "> 163 Copyright © 2010-2024 Arm Limited or its affiliates. All rights reserved. 164 This document is Non-Confidential. 165</ p ></ body ></ html >