Attachment 'neon-and64-examples.txt'

Download

   1 @       Unpatched                   | unpatched           | unpatched            | patched             | patched
   2 @       with vfpv3                  | with neon           | with neon            | with neon           | with neon
   3 @                                   |                     | without lower-subreg |                     | without lower-subreg
   4                                                             
   5 foo:                                                        
   6         mov     r2, r0              | mov     r2, r0      | mov     r2, r0       | mov     r2, r0      | mov     r2, r0     
   7         mov     r3, r1              | mov     r3, r1      | mov     r3, r1       | mov     r3, r1      | mov     r3, r1     
   8         and     r0, r0, #1          | movs    r0, #1      | movs    r0, #1       | and     r0, r0, #1  | and     r0, r0, #1 
   9         movs    r1, #0              | movs    r1, #0      | movs    r1, #0       | and     r1, r1, #0  | and     r1, r1, #0 
  10                                     | ands    r0, r0, r2  | ands    r0, r0, r2   |                     |                    
  11                                     | ands    r1, r1, r3  | ands    r1, r1, r3   |                     |                    
  12         b       bar                 | b       bar         | b       bar          | b       bar         | b       bar        
  13                                                                                  
  14 foo2:                                                                            
  15                                     | push    {r4, r5}    | push    {r4, r5}     |                     |                    
  16                                     | mvn     r4, #1      | mvn     r4, #1       |                     |                    
  17                                     | mvn     r5, #1      | mvn     r5, #1       |                     |                    
  18         mov     r2, r0              | mov     r2, r0      | mov     r2, r0       | mov     r2, r0      | mov     r2, r0     
  19         mov     r3, r1              | mov     r3, r1      | mov     r3, r1       | mov     r3, r1      | mov     r3, r1     
  20         bic     r0, r0, #1          | ands    r0, r0, r4  | ands    r0, r0, r4   | bic     r0, r0, #1  | bic     r0, r0, #1 
  21         bic     r1, r1, #1          | ands    r1, r1, r5  | ands    r1, r1, r5   | bic     r1, r1, #1  | bic     r1, r1, #1 
  22                                     | pop     {r4, r5}    | pop     {r4, r5}     |                     |                    
  23         b       bar                 | b       bar         | b       bar          | b       bar         | b       bar        
  24                                                                                  
  25 and:                                                                             
  26         ands    r0, r0, r2          | ands    r2, r2, r0  | ands    r0, r0, r2   | ands    r2, r2, r0  | ands    r0, r0, r2 
  27         ands    r1, r1, r3          | ands    r3, r3, r1  | ands    r1, r1, r3   | ands    r3, r3, r1  | ands    r1, r1, r3 
  28                                     | mov     r0, r2      |                      | mov     r0, r2      |                    
  29                                     | mov     r1, r3      |                      | mov     r1, r3      |                    
  30         bx      lr                  | bx      lr          | bx      lr           | bx      lr          | bx      lr         
  31                                                                                  
  32 anddi_zesidi_di:                                                                 
  33         ands    r0, r0, r2          |                     |                      |                     |                    
  34         movs    r1, #0              | movs    r1, #0      | movs    r1, #0       | movs    r1, #0      | movs    r1, #0     
  35                                     | ands    r2, r2, r0  | ands    r0, r0, r2   | ands    r2, r2, r0  | ands    r0, r0, r2 
  36                                     | ands    r3, r3, r1  | ands    r1, r1, r3   | ands    r3, r3, r1  | ands    r1, r1, r3 
  37                                     | mov     r0, r2      |                      | mov     r0, r2      |                    
  38                                     | mov     r1, r3      |                      | mov     r1, r3      |                    
  39         bx      lr                  | bx      lr          | bx      lr           | bx      lr          | bx      lr         
  40                                                                                  
  41 anddi_sesdi_di:                                                                  
  42         mov     r1, r0              | asrs    r1, r0, #31 | asrs    r1, r0, #31  | asrs    r1, r0, #31 | asrs    r1, r0, #31
  43         ands    r0, r0, r2          | ands    r2, r2, r0  | ands    r0, r0, r2   | ands    r2, r2, r0  | ands    r0, r0, r2 
  44         and     r1, r3, r1, asr #31 | mov     r0, r2      | ands    r1, r1, r3   | mov     r0, r2      | ands    r1, r1, r3 
  45                                     | ands    r3, r3, r1  |                      | ands    r3, r3, r1  |                    
  46                                     | mov     r1, r3      |                      | mov     r1, r3      |                    
  47         bx      lr                  | bx      lr          | bx      lr           | bx      lr          | bx      lr         
  48                                                                                  
  49 anddi_notdi_di:                                                                  
  50         bic     r0, r2, r0          | bic     r2, r2, r0  | bic     r0, r2, r0   | bic     r2, r2, r0  | bic     r0, r2, r0 
  51         bic     r1, r3, r1          | bic     r3, r3, r1  | bic     r1, r3, r1   | bic     r3, r3, r1  | bic     r1, r3, r1 
  52                                     | mov     r0, r2      |                      | mov     r0, r2      |                    
  53                                     | mov     r1, r3      |                      | mov     r1, r3      |                    
  54         bx      lr                  | bx      lr          | bx      lr           | bx      lr          | bx      lr         
  55                                                                                  
  56 anddi_notzesidi_di:                                                              
  57         bic     r0, r2, r0          | movs    r1, #0      | movs    r1, #0       | movs    r1, #0      | movs    r1, #0     
  58         mov     r1, r3              | bic     r2, r2, r0  | bic     r0, r2, r0   | bic     r2, r2, r0  | bic     r0, r2, r0 
  59                                     | bic     r3, r3, r1  | bic     r1, r3, r1   | bic     r3, r3, r1  |                    
  60                                     | mov     r0, r2      | bx      lr           | mov     r0, r2      |
  61                                     | mov     r1, r3      |                      | mov     r1, r3      | bic     r1, r3, r1 
  62         bx      lr                  | bx      lr          |                      | bx      lr          | bx      lr         
  63                                                                                  
  64 anddi_notsesidi_di:                                                              
  65         mov     r1, r0              | asrs    r1, r0, #31 | asrs    r1, r0, #31  | asrs    r1, r0, #31 | asrs    r1, r0, #31
  66         bic     r0, r2, r0          | bic     r2, r2, r0  | bic     r0, r2, r0   | bic     r2, r2, r0  | bic     r0, r2, r0 
  67         bic     r1, r3, r1, asr #31 | mov     r0, r2      | bic     r1, r3, r1   | mov     r0, r2      | bic     r1, r3, r1 
  68                                     | bic     r3, r3, r1  |                      | bic     r3, r3, r1  |                    
  69                                     | mov     r1, r3      |                      | mov     r1, r3      |                    
  70         bx      lr                  | bx      lr          | bx      lr           | bx      lr          | bx      lr         
  71                                                                                  
  72 not:                                                                             
  73         mvns    r0, r0              | mvns    r2, r0      | mvns    r0, r0       | mvns    r2, r0      | mvns    r0, r0     
  74         mvns    r1, r1              | mvns    r3, r1      | mvns    r1, r1       | mvns    r3, r1      | mvns    r1, r1     
  75                                     | mov     r0, r2      |                      | mov     r0, r2      |                    
  76                                     | mov     r1, r3      |                      | mov     r1, r3      |                    
  77         bx      lr                  | bx      lr          | bx      lr           | bx      lr          | bx      lr         
  78                                                                                  
  79 or:                                                                              
  80         orrs    r0, r0, r2          | orrs    r2, r2, r0  | orrs    r0, r0, r2   | orrs    r2, r2, r0  | orrs    r0, r0, r2 
  81         orrs    r1, r1, r3          | orrs    r3, r3, r1  | orrs    r1, r1, r3   | orrs    r3, r3, r1  | orrs    r1, r1, r3 
  82                                     | mov     r0, r2      |                      | mov     r0, r2      |                    
  83                                     | mov     r1, r3      |                      | mov     r1, r3      |                    
  84         bx      lr                  | bx      lr          | bx      lr           | bx      lr          | bx      lr         
  85                                                                                  
  86 or_const:                                                                        
  87         orr     r0, r0, #10         | movs    r2, #10     | movs    r2, #10      | orr     r2, r0, #10 | orr     r0, r0, #10
  88                                     | movs    r3, #0      | movs    r3, #0       | orr     r3, r1, #0  | orr     r1, r1, #0 
  89                                     | orrs    r2, r2, r0  | orrs    r0, r0, r2   | mov     r0, r2      |                    
  90                                     | orrs    r3, r3, r1  | orrs    r1, r1, r3   | mov     r1, r3      |                    
  91                                     | mov     r0, r2      |                      |                     |                    
  92                                     | mov     r1, r3      |                      |                     |                    
  93         bx      lr                  | bx      lr          | bx      lr           | bx      lr          | bx      lr         
  94                                                                                  
  95 iordi_zesidi_di:                                                                 
  96         orrs    r0, r0, r2          | movs    r1, #0      | movs    r1, #0       | movs    r1, #0      | movs    r1, #0     
  97         mov     r1, r3              | orrs    r2, r2, r0  | orrs    r0, r0, r2   | orrs    r2, r2, r0  | orrs    r0, r0, r2 
  98                                     | orrs    r3, r3, r1  | orrs    r1, r1, r3   | orrs    r3, r3, r1  |                    
  99                                     | mov     r0, r2      |                      | mov     r0, r2      |
 100                                     | mov     r1, r3      |                      | mov     r1, r3      | orrs    r1, r1, r3 
 101         bx      lr                  | bx      lr          | bx      lr           | bx      lr          | bx      lr         
 102                                                                                  
 103 iordi_sesidi_di:                                                                 
 104         mov     r1, r0              | asrs    r1, r0, #31 | asrs    r1, r0, #31  | asrs    r1, r0, #31 | asrs    r1, r0, #31
 105         orrs    r0, r0, r2          | orrs    r2, r2, r0  | orrs    r0, r0, r2   | orrs    r2, r2, r0  | orrs    r0, r0, r2 
 106         orr     r1, r3, r1, asr #31 | mov     r0, r2      | orrs    r1, r1, r3   | mov     r0, r2      | orrs    r1, r1, r3 
 107                                     | orrs    r3, r3, r1  |                      | orrs    r3, r3, r1  |                    
 108                                     | mov     r1, r3      |                      | mov     r1, r3      |                    
 109         bx      lr                  | bx      lr          | bx      lr           | bx      lr          | bx      lr         
 110                                                                                  
 111 xor:                                                                             
 112         eors    r0, r0, r2          | eors    r2, r2, r0  | eors    r0, r0, r2   | eors    r2, r2, r0  | eors    r0, r0, r2 
 113         eors    r1, r1, r3          | eors    r3, r3, r1  | eors    r1, r1, r3   | eors    r3, r3, r1  | eors    r1, r1, r3 
 114                                     | mov     r0, r2      |                      | mov     r0, r2      |                    
 115                                     | mov     r1, r3      |                      | mov     r1, r3      |                    
 116         bx      lr                  | bx      lr          | bx      lr           | bx      lr          | bx      lr         
 117                                                                                  
 118 xor_const:                                                                       
 119         eor     r0, r0, #10         | movs    r2, #10     | movs    r2, #10      | eor     r2, r0, #10 | eor     r0, r0, #10
 120                                     | movs    r3, #0      | movs    r3, #0       | eor     r3, r1, #0  | eor     r1, r1, #0 
 121                                     | eors    r2, r2, r0  | eors    r0, r0, r2   | mov     r0, r2      |                    
 122                                     | eors    r3, r3, r1  | eors    r1, r1, r3   | mov     r1, r3      |                    
 123                                     | mov     r0, r2      |                      |                     |                    
 124                                     | mov     r1, r3      |                      |                     |                    
 125         bx      lr                  | bx      lr          | bx      lr           | bx      lr          | bx      lr         
 126                                                                                  
 127 xordi_zesidi_di:                                                                 
 128         eors    r0, r0, r2          | movs    r1, #0      | movs    r1, #0       | movs    r1, #0      | movs    r1, #0     
 129         mov     r1, r3              | eors    r2, r2, r0  | eors    r0, r0, r2   | eors    r2, r2, r0  | eors    r0, r0, r2 
 130                                     | eors    r3, r3, r1  | eors    r1, r1, r3   | eors    r3, r3, r1  |                    
 131                                     | mov     r0, r2      |                      | mov     r0, r2      |
 132                                     | mov     r1, r3      |                      | mov     r1, r3      | eors    r1, r1, r3 
 133         bx      lr                  | bx      lr          | bx      lr           | bx      lr          | bx      lr         
 134                                                                                  
 135 xordi_sesidi_di:                                                                 
 136         mov     r1, r0              | asrs    r1, r0, #31 | asrs    r1, r0, #31  | asrs    r1, r0, #31 | asrs    r1, r0, #31
 137         eors    r0, r0, r2          | eors    r2, r2, r0  | eors    r0, r0, r2   | eors    r2, r2, r0  | eors    r0, r0, r2 
 138         eor     r1, r3, r1, asr #31 | mov     r0, r2      | eors    r1, r1, r3   | mov     r0, r2      | eors    r1, r1, r3 
 139                                     | eors    r3, r3, r1  |                      | eors    r3, r3, r1  |                    
 140                                     | mov     r1, r3      |                      | mov     r1, r3      |                    
 141         bx      lr                  | bx      lr          | bx      lr           | bx      lr          | bx      lr         

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2012-05-22 19:21:30, 15.7 KB) [[attachment:neon-and64-examples.txt]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.