Commit f39b472
committed
[mlir][arith][tosa] Use extended mul in 32-bit
To not introduce 64-bit types that may be difficult to handle for some
targets.
Reviewed By: rsuderman, antiagainst
Differential Revision: https://reviews.llvm.org/D139777tosa.apply_scale
1 parent 11b9c79 commit f39b472
File tree
2 files changed
+5
-19
lines changed- mlir
- lib/Conversion/TosaToArith
- test/Conversion/TosaToArith
2 files changed
+5
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | 130 | | |
132 | 131 | | |
133 | 132 | | |
| |||
144 | 143 | | |
145 | 144 | | |
146 | 145 | | |
147 | | - | |
148 | 146 | | |
149 | 147 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | 148 | | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
161 | 153 | | |
162 | 154 | | |
163 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 26 | + | |
33 | 27 | | |
34 | 28 | | |
35 | 29 | | |
| |||
0 commit comments