~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/hexagon/lib/memcpy_likely_aligned.S

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/hexagon/lib/memcpy_likely_aligned.S (Version linux-6.12-rc7) and /arch/i386/lib/memcpy_likely_aligned.S (Version linux-4.18.20)


  1 /* SPDX-License-Identifier: GPL-2.0-only */       
  2 /*                                                
  3  * Copyright (c) 2021, The Linux Foundation. A    
  4  */                                               
  5                                                   
  6 #include <linux/linkage.h>                        
  7                                                   
  8 SYM_FUNC_START(__hexagon_memcpy_likely_aligned    
  9         {                                         
 10                 p0 = bitsclr(r1,#7)               
 11                 p0 = bitsclr(r0,#7)               
 12                 if (p0.new) r5:4 = memd(r1)       
 13                 if (p0.new) r7:6 = memd(r1+#8)    
 14         }                                         
 15         {                                         
 16                 if (!p0) jump:nt .Lmemcpy_call    
 17                 if (p0) r9:8 = memd(r1+#16)       
 18                 if (p0) r11:10 = memd(r1+#24)     
 19                 p0 = cmp.gtu(r2,#64)              
 20         }                                         
 21         {                                         
 22                 if (p0) jump:nt .Lmemcpy_call     
 23                 if (!p0) memd(r0) = r5:4          
 24                 if (!p0) memd(r0+#8) = r7:6       
 25                 p0 = cmp.gtu(r2,#32)              
 26         }                                         
 27         {                                         
 28                 p1 = cmp.gtu(r2,#40)              
 29                 p2 = cmp.gtu(r2,#48)              
 30                 if (p0) r13:12 = memd(r1+#32)     
 31                 if (p1.new) r15:14 = memd(r1+#    
 32         }                                         
 33         {                                         
 34                 memd(r0+#16) = r9:8               
 35                 memd(r0+#24) = r11:10             
 36         }                                         
 37         {                                         
 38                 if (p0) memd(r0+#32) = r13:12     
 39                 if (p1) memd(r0+#40) = r15:14     
 40                 if (!p2) jumpr:t r31              
 41         }                                         
 42         {                                         
 43                 p0 = cmp.gtu(r2,#56)              
 44                 r5:4 = memd(r1+#48)               
 45                 if (p0.new) r7:6 = memd(r1+#56    
 46         }                                         
 47         {                                         
 48                 memd(r0+#48) = r5:4               
 49                 if (p0) memd(r0+#56) = r7:6       
 50                 jumpr r31                         
 51         }                                         
 52                                                   
 53 .Lmemcpy_call:                                    
 54         jump memcpy                               
 55                                                   
 56 SYM_FUNC_END(__hexagon_memcpy_likely_aligned_m    
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php