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

Jonathan Dönszelmannwebsite start885cc4e

main
11.3 KiB225 linesraw
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
3<!-- Generated by Microsoft Visio 11.0, SVG Export, v1.0 vrev16_operation_examples.svg Page-1 -->
4<!-- Copyright (c) 2014 ARM Limited or its affiliates. All rights reserved. -->
5<svg xmlns="http://www.w3.org/2000/svg" 
6     xmlns:xlink="http://www.w3.org/1999/xlink" 
7     xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" width="1.82908in"
8		height="1.55349in" viewBox="0 0 131.694 111.851" xml:space="preserve" color-interpolation-filters="sRGB" class="st9">
9	<v:documentProperties v:langID="1033" v:metric="true" v:viewMarkup="false"/>
10
11	<style type="text/css">
12	<![CDATA[
13		.st1 {fill:none;stroke:none;stroke-linecap:butt;stroke-width:0.5}
14		.st2 {fill:#000000;font-family:Arial;font-size:0.666664em}
15		.st3 {fill:#ffffff;stroke:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.0169691}
16		.st4 {stroke:#000000;stroke-linecap:butt;stroke-width:0.5}
17		.st5 {fill:#ffffff;visibility:hidden}
18		.st6 {stroke:#000000;stroke-linecap:butt;stroke-width:0.8}
19		.st7 {marker-end:url(#mrkr4-93);stroke:#000000;stroke-linecap:butt;stroke-width:0.5}
20		.st8 {fill:#000000;fill-opacity:1;stroke:#000000;stroke-opacity:1;stroke-width:0.21739130434783}
21		.st9 {fill:none;fill-rule:evenodd;font-size:12;overflow:visible;stroke-linecap:square;stroke-miterlimit:3}
22	]]>
23	</style>
24
25	<defs id="Markers">
26		<g id="lend4">
27			<path d="M 2 1 L -0 0 L 2 -1 L 2 1 " style="stroke:none"/>
28		</g>
29		<marker id="mrkr4-93" class="st8" v:arrowType="4" v:arrowSize="1" v:setback="9.2" refX="-9.2" orient="auto"
30				markerUnits="strokeWidth">
31			<use xlink:href="#lend4" transform="scale(-4.6,-4.6) "/>
32		</marker>
33	</defs>
34	<g v:mID="0" v:index="1" v:groupContext="foregroundPage">
35		<title>Page-1</title>
36		<v:pageProperties v:drawingScale="0.0393701" v:pageScale="0.0393701" v:drawingUnits="24" v:shadowOffsetX="0"
37				v:shadowOffsetY="0" v:shadowType="1" v:shadowScale="0"/>
38		<g id="shape9-1" v:mID="9" v:groupContext="shape" transform="translate(0.5,-85.8394)">
39			<title>Sheet.9</title>
40			<desc>Dm</desc>
41			<v:textBlock v:margins="rect(1,2,1,0)" v:tabSpace="42.5197"/>
42			<v:textRect cx="8.50394" cy="106.182" width="17.01" height="11.3386"/>
43			<rect x="0" y="100.513" width="17.0079" height="11.3386" class="st1"/>
44			<text x="2.57" y="108.58" class="st2" v:langID="2057"><v:paragraph v:horizAlign="2"/><v:tabList/>Dm</text>		</g>
45		<g id="shape1-4" v:mID="1" v:groupContext="shape" transform="translate(102.547,-85.8394)">
46			<title>Sheet.1</title>
47			<rect x="0" y="100.513" width="14.1732" height="11.3386" class="st3"/>
48		</g>
49		<g id="shape4-6" v:mID="4" v:groupContext="shape" transform="translate(116.72,-85.8394)">
50			<title>Sheet.4</title>
51			<rect x="0" y="100.513" width="14.1732" height="11.3386" class="st3"/>
52		</g>
53		<g id="shape2-8" v:mID="2" v:groupContext="shape" transform="translate(17.5079,-85.8394)">
54			<title>Sheet.2</title>
55			<rect x="0" y="100.513" width="14.1732" height="11.3386" class="st3"/>
56		</g>
57		<g id="shape37-10" v:mID="37" v:groupContext="shape" transform="translate(31.6811,-85.8394)">
58			<title>Sheet.37</title>
59			<rect x="0" y="100.513" width="14.1732" height="11.3386" class="st3"/>
60		</g>
61		<g id="shape38-12" v:mID="38" v:groupContext="shape" transform="translate(31.6811,-85.8394)">
62			<title>Sheet.38</title>
63			<path d="M0 100.51 L0 111.85" class="st4"/>
64		</g>
65		<g id="shape41-15" v:mID="41" v:groupContext="shape" transform="translate(45.8543,-85.8394)">
66			<title>Sheet.41</title>
67			<rect x="0" y="100.513" width="14.1732" height="11.3386" class="st3"/>
68		</g>
69		<g id="shape42-17" v:mID="42" v:groupContext="shape" transform="translate(45.8543,-85.8394)">
70			<title>Sheet.42</title>
71			<path d="M0 100.51 L0 111.85" class="st4"/>
72		</g>
73		<g id="shape45-20" v:mID="45" v:groupContext="shape" transform="translate(60.0276,-85.8394)">
74			<title>Sheet.45</title>
75			<rect x="0" y="100.513" width="14.1732" height="11.3386" class="st3"/>
76		</g>
77		<g id="shape46-22" v:mID="46" v:groupContext="shape" transform="translate(60.0276,-85.8394)">
78			<title>Sheet.46</title>
79			<path d="M0 100.51 L0 111.85" class="st4"/>
80		</g>
81		<g id="shape49-25" v:mID="49" v:groupContext="shape" transform="translate(74.2008,-85.8394)">
82			<title>Sheet.49</title>
83			<rect x="0" y="100.513" width="14.1732" height="11.3386" class="st3"/>
84		</g>
85		<g id="shape50-27" v:mID="50" v:groupContext="shape" transform="translate(74.2008,-85.8394)">
86			<title>Sheet.50</title>
87			<path d="M0 100.51 L0 111.85" class="st4"/>
88		</g>
89		<g id="shape53-30" v:mID="53" v:groupContext="shape" transform="translate(88.374,-85.8394)">
90			<title>Sheet.53</title>
91			<rect x="0" y="100.513" width="14.1732" height="11.3386" class="st3"/>
92		</g>
93		<g id="shape54-32" v:mID="54" v:groupContext="shape" transform="translate(88.374,-85.8394)">
94			<title>Sheet.54</title>
95			<path d="M0 100.51 L0 111.85" class="st4"/>
96		</g>
97		<g id="shape97-35" v:mID="97" v:groupContext="shape" transform="translate(17.5079,-85.8394)">
98			<title>Sheet.97</title>
99			<rect x="0" y="100.513" width="113.386" height="11.3386" class="st5"/>
100			<rect x="0" y="100.513" width="113.386" height="11.3386" class="st6"/>
101		</g>
102		<g id="shape3-38" v:mID="3" v:groupContext="shape" transform="translate(102.547,-85.8394)">
103			<title>Sheet.3</title>
104			<path d="M0 100.51 L0 111.85" class="st4"/>
105		</g>
106		<g id="shape5-41" v:mID="5" v:groupContext="shape" transform="translate(116.72,-85.8394)">
107			<title>Sheet.5</title>
108			<path d="M0 100.51 L0 111.85" class="st4"/>
109		</g>
110		<g id="group7-44" transform="translate(17.5079,-0.8)" v:mID="7" v:groupContext="group">
111			<title>Sheet.7</title>
112			<g id="shape11-45" v:mID="11" v:groupContext="shape" transform="translate(85.0394,1.42109E-014)">
113				<title>Sheet.11</title>
114				<rect x="0" y="100.513" width="14.1732" height="11.3386" class="st3"/>
115			</g>
116			<g id="shape12-47" v:mID="12" v:groupContext="shape" transform="translate(99.2126,1.42109E-014)">
117				<title>Sheet.12</title>
118				<rect x="0" y="100.513" width="14.1732" height="11.3386" class="st3"/>
119			</g>
120			<g id="shape15-49" v:mID="15" v:groupContext="shape">
121				<title>Sheet.15</title>
122				<rect x="0" y="100.513" width="14.1732" height="11.3386" class="st3"/>
123			</g>
124			<g id="shape16-51" v:mID="16" v:groupContext="shape" transform="translate(14.1732,1.42109E-014)">
125				<title>Sheet.16</title>
126				<rect x="0" y="100.513" width="14.1732" height="11.3386" class="st3"/>
127			</g>
128			<g id="shape19-53" v:mID="19" v:groupContext="shape" transform="translate(14.1732,1.42109E-014)">
129				<title>Sheet.19</title>
130				<path d="M0 100.51 L0 111.85" class="st4"/>
131			</g>
132			<g id="shape20-56" v:mID="20" v:groupContext="shape" transform="translate(28.3465,1.42109E-014)">
133				<title>Sheet.20</title>
134				<rect x="0" y="100.513" width="14.1732" height="11.3386" class="st3"/>
135			</g>
136			<g id="shape23-58" v:mID="23" v:groupContext="shape" transform="translate(28.3465,1.42109E-014)">
137				<title>Sheet.23</title>
138				<path d="M0 100.51 L0 111.85" class="st4"/>
139			</g>
140			<g id="shape24-61" v:mID="24" v:groupContext="shape" transform="translate(42.5197,1.42109E-014)">
141				<title>Sheet.24</title>
142				<rect x="0" y="100.513" width="14.1732" height="11.3386" class="st3"/>
143			</g>
144			<g id="shape25-63" v:mID="25" v:groupContext="shape" transform="translate(42.5197,1.42109E-014)">
145				<title>Sheet.25</title>
146				<path d="M0 100.51 L0 111.85" class="st4"/>
147			</g>
148			<g id="shape26-66" v:mID="26" v:groupContext="shape" transform="translate(56.6929,1.42109E-014)">
149				<title>Sheet.26</title>
150				<rect x="0" y="100.513" width="14.1732" height="11.3386" class="st3"/>
151			</g>
152			<g id="shape27-68" v:mID="27" v:groupContext="shape" transform="translate(56.6929,1.42109E-014)">
153				<title>Sheet.27</title>
154				<path d="M0 100.51 L0 111.85" class="st4"/>
155			</g>
156			<g id="shape28-71" v:mID="28" v:groupContext="shape" transform="translate(70.8661,1.42109E-014)">
157				<title>Sheet.28</title>
158				<rect x="0" y="100.513" width="14.1732" height="11.3386" class="st3"/>
159			</g>
160			<g id="shape29-73" v:mID="29" v:groupContext="shape" transform="translate(70.8661,1.42109E-014)">
161				<title>Sheet.29</title>
162				<path d="M0 100.51 L0 111.85" class="st4"/>
163			</g>
164			<g id="shape30-76" v:mID="30" v:groupContext="shape">
165				<title>Sheet.30</title>
166				<rect x="0" y="100.513" width="113.386" height="11.3386" class="st5"/>
167				<rect x="0" y="100.513" width="113.386" height="11.3386" class="st6"/>
168			</g>
169			<g id="shape31-79" v:mID="31" v:groupContext="shape" transform="translate(85.0394,1.42109E-014)">
170				<title>Sheet.31</title>
171				<path d="M0 100.51 L0 111.85" class="st4"/>
172			</g>
173			<g id="shape32-82" v:mID="32" v:groupContext="shape" transform="translate(99.2126,1.42109E-014)">
174				<title>Sheet.32</title>
175				<path d="M0 100.51 L0 111.85" class="st4"/>
176			</g>
177		</g>
178		<g id="shape35-85" v:mID="35" v:groupContext="shape" transform="translate(0.5,-0.8)">
179			<title>Sheet.35</title>
180			<desc>Dd</desc>
181			<v:textBlock v:margins="rect(1,2,1,0)" v:tabSpace="42.5197"/>
182			<v:textRect cx="8.50394" cy="106.182" width="17.01" height="11.3386"/>
183			<rect x="0" y="100.513" width="17.0079" height="11.3386" class="st1"/>
184			<text x="4.78" y="108.58" class="st2" v:langID="2057"><v:paragraph v:horizAlign="2"/><v:tabList/>Dd</text>		</g>
185		<g id="shape51-88" v:mID="51" v:groupContext="shape" transform="translate(218.506,5.39892) rotate(79.3803)">
186			<title>Signal 2</title>
187			<path d="M0 111.85 L70.39 111.85" class="st7"/>
188		</g>
189		<g id="shape52-94" v:mID="52" v:groupContext="shape" transform="translate(133.016,4.88901) rotate(79.1145)">
190			<title>Signal 2.52</title>
191			<path d="M0 111.85 L70.45 111.85" class="st7"/>
192		</g>
193		<g id="shape55-99" v:mID="55" v:groupContext="shape" transform="translate(189.709,4.88901) rotate(79.1145)">
194			<title>Signal 2.55</title>
195			<path d="M0 111.85 L70.45 111.85" class="st7"/>
196		</g>
197		<g id="shape56-104" v:mID="56" v:groupContext="shape" transform="translate(164.197,4.88901) rotate(79.1145)">
198			<title>Signal 2.56</title>
199			<path d="M0 111.85 L70.45 111.85" class="st7"/>
200		</g>
201		<g id="shape57-109" v:mID="57" v:groupContext="shape" transform="translate(12.5512,4.88901) rotate(-79.1145) scale(-1,1)">
202			<title>Signal 2.57</title>
203			<path d="M0 111.85 L70.45 111.85" class="st7"/>
204		</g>
205		<g id="shape58-114" v:mID="58" v:groupContext="shape" transform="translate(-12.1089,0.86101) rotate(-77.0054) scale(-1,1)">
206			<title>Signal 2.58</title>
207			<path d="M0 111.85 L71.04 111.85" class="st7"/>
208		</g>
209		<g id="shape59-119" v:mID="59" v:groupContext="shape" transform="translate(-73.2001,9.00404) rotate(-81.2538) scale(-1,1)">
210			<title>Signal 2.59</title>
211			<path d="M0 111.85 L69.97 111.85" class="st7"/>
212		</g>
213		<g id="shape60-124" v:mID="60" v:groupContext="shape" transform="translate(-44.1417,4.88901) rotate(-79.1145) scale(-1,1)">
214			<title>Signal 2.60</title>
215			<path d="M0 111.85 L70.45 111.85" class="st7"/>
216		</g>
217		<g id="shape98-129" v:mID="98" v:groupContext="shape" transform="translate(0.5,-100.013)">
218			<title>Sheet.98</title>
219			<desc>VREV16.8, doubleword</desc>
220			<v:textBlock v:margins="rect(1,0,1,2)" v:tabSpace="42.5197"/>
221			<v:textRect cx="45.3543" cy="106.182" width="90.71" height="11.3386"/>
222			<rect x="0" y="100.513" width="90.7087" height="11.3386" class="st1"/>
223			<text x="2" y="108.58" class="st2" v:langID="2057"><v:paragraph/><v:tabList/>VREV16.8, doubleword</text>		</g>
224	</g>
225</svg>