1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../css/manpage.css" type="text/css" />
7    <link rel="stylesheet" href="../css/timetable.css" type="text/css" />
8    <title>abs - Absolute</title>
9  </head>
10  <body>
11    <h1>abs - Absolute</h1>
12
13    <h2>Calling Format</h2>
14    <div class="section">
15      <pre class="definition">
16abs     dest, src
17</pre>
18    </div>
19
20    <h2>Operands</h2>
21    <div class="section">
22      <table class="arguments">
23        <thead>
24          <tr>
25            <th>Name</th>
26            <td>Registers</td>
27          </tr>
28        </thead>
29        <tr>
30          <th>dest</th>
31          <td>An output register or temporary register.</td>
32        </tr>
33        <tr>
34          <th>src</th>
35          <td>A temporary register or input register.</td>
36        </tr>
37      </table>
38    </div>
39
40    <h2>Overview</h2>
41    <div class="section">
42      <p>
43        Stores the absolute value of <SPAN class="argument">src</SPAN> in <SPAN class="argument">dest</SPAN>.<br>
44      </p>
45    </div>
46
47    <h2>Operation</h2>
48    <div class="section">
49<pre class="definition">
50dest.x = abs ( src0.x )
51dest.y = abs ( src0.y )
52dest.z = abs ( src0.z )
53dest.w = abs ( src0.w )
54</pre>
55    </div>
56
57    <h2>Macro Expansion</h2>
58    <div class="section">
59<pre class="definition">
60max     dest, src, -src
61</pre>
62    </div>
63
64    <h2>Code Example</h2>
65    <div class="section">
66<pre class="definition">
67abs     r0, r1
68abs     o0, r7.yzww
69</pre>
70    </div>
71
72    <h2>Time Table</h2>
73    <div class="section">
74      <table class="timetable">
75        <tr>
76          <th></th>
77          <th>1</th><th>2</th><th>3</th>
78        </tr>
79        <tr>
80          <th><CODE>max</CODE></th>
81          <td class="read">read</td>
82          <td class="MAX">MAX</td>
83          <td class="write">write</td>
84          <td class="dummy"></td>
85        </tr>
86      </table>
87    </div>
88
89
90  <h2>Revision History</h2>
91  <div class="section">
92    <dl class="history">
93      <dt>2011/12/20</dt>
94      <dd>Initial version.<br />
95      </dd>
96    </dl>
97  </div>
98
99  <hr><p>CONFIDENTIAL</p></body>
100</html>