File tree 1 file changed +0
-42
lines changed
1 file changed +0
-42
lines changed Original file line number Diff line number Diff line change @@ -320,48 +320,6 @@ macro_rules! constify_imm5 {
320
320
} ;
321
321
}
322
322
323
- //immediate value: -16:15
324
- #[ allow( unused) ]
325
- macro_rules! constify_imm5 {
326
- ( $imm8: expr, $expand: ident) => {
327
- #[ allow( overflowing_literals) ]
328
- match ( $imm8) & 0b1_1111 {
329
- 0 => $expand!( 0 ) ,
330
- 1 => $expand!( 1 ) ,
331
- 2 => $expand!( 2 ) ,
332
- 3 => $expand!( 3 ) ,
333
- 4 => $expand!( 4 ) ,
334
- 5 => $expand!( 5 ) ,
335
- 6 => $expand!( 6 ) ,
336
- 7 => $expand!( 7 ) ,
337
- 8 => $expand!( 8 ) ,
338
- 9 => $expand!( 9 ) ,
339
- 10 => $expand!( 10 ) ,
340
- 11 => $expand!( 11 ) ,
341
- 12 => $expand!( 12 ) ,
342
- 13 => $expand!( 13 ) ,
343
- 14 => $expand!( 14 ) ,
344
- 15 => $expand!( 15 ) ,
345
- 16 => $expand!( 16 ) ,
346
- 17 => $expand!( 17 ) ,
347
- 18 => $expand!( 18 ) ,
348
- 19 => $expand!( 19 ) ,
349
- 20 => $expand!( 20 ) ,
350
- 21 => $expand!( 21 ) ,
351
- 22 => $expand!( 22 ) ,
352
- 23 => $expand!( 23 ) ,
353
- 24 => $expand!( 24 ) ,
354
- 25 => $expand!( 25 ) ,
355
- 26 => $expand!( 26 ) ,
356
- 27 => $expand!( 27 ) ,
357
- 28 => $expand!( 28 ) ,
358
- 29 => $expand!( 29 ) ,
359
- 30 => $expand!( 30 ) ,
360
- _ => $expand!( 31 ) ,
361
- }
362
- } ;
363
- }
364
-
365
323
//immediate value: 0:16
366
324
#[ allow( unused) ]
367
325
macro_rules! constify_imm4 {
You can’t perform that action at this time.
0 commit comments