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

TOMOYO Linux Cross Reference
Linux/arch/arm/nwfpe/ARM-gcc.h

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/arm/nwfpe/ARM-gcc.h (Version linux-6.12-rc7) and /arch/i386/nwfpe/ARM-gcc.h (Version linux-5.10.229)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 
  2 /*                                                
  3 ----------------------------------------------    
  4 The macro `BITS64' can be defined to indicate     
  5 supported by the compiler.                        
  6 ----------------------------------------------    
  7 */                                                
  8 #define BITS64                                    
  9                                                   
 10 /*                                                
 11 ----------------------------------------------    
 12 Each of the following `typedef's defines the m    
 13 integers of at least as many bits as specified    
 14 be the most convenient type that can hold unsi    
 15 8 bits.  The `flag' type must be able to hold     
 16 implementations of C, `flag', `uint8', and `in    
 17 to the same as `int'.                             
 18 ----------------------------------------------    
 19 */                                                
 20 typedef char flag;                                
 21 typedef unsigned char uint8;                      
 22 typedef signed char int8;                         
 23 typedef int uint16;                               
 24 typedef int int16;                                
 25 typedef unsigned int uint32;                      
 26 typedef signed int int32;                         
 27 #ifdef BITS64                                     
 28 typedef unsigned long long int bits64;            
 29 typedef signed long long int sbits64;             
 30 #endif                                            
 31                                                   
 32 /*                                                
 33 ----------------------------------------------    
 34 Each of the following `typedef's defines a typ    
 35 of _exactly_ the number of bits specified.  Fo    
 36 implementation of C, `bits16' and `sbits16' sh    
 37 `unsigned short int' and `signed short int' (o    
 38 ----------------------------------------------    
 39 */                                                
 40 typedef unsigned char bits8;                      
 41 typedef signed char sbits8;                       
 42 typedef unsigned short int bits16;                
 43 typedef signed short int sbits16;                 
 44 typedef unsigned int bits32;                      
 45 typedef signed int sbits32;                       
 46 #ifdef BITS64                                     
 47 typedef unsigned long long int uint64;            
 48 typedef signed long long int int64;               
 49 #endif                                            
 50                                                   
 51 #ifdef BITS64                                     
 52 /*                                                
 53 ----------------------------------------------    
 54 The `LIT64' macro takes as its argument a text    
 55 necessary ``marks'' the literal as having a 64    
 56 example, the Gnu C Compiler (`gcc') requires t    
 57 appended with the letters `LL' standing for `l    
 58 name for the 64-bit integer type.  Some compil    
 59 defined as the identity macro:  `#define LIT64    
 60 ----------------------------------------------    
 61 */                                                
 62 #define LIT64( a ) a##LL                          
 63 #endif                                            
 64                                                   
 65 /*                                                
 66 ----------------------------------------------    
 67 The macro `INLINE' can be used before function    
 68 a compiler does not support explicit inlining,    
 69 to be `static'.                                   
 70 ----------------------------------------------    
 71 */                                                
 72 #define INLINE static inline                      
 73                                                   
 74                                                   
 75 /* For use as a GCC soft-float library we need    
 76                                                   
 77 #ifdef __LIBFLOAT__                               
 78                                                   
 79 /* Some 32-bit ops can be mapped straight acro    
 80 #define float32_add                     __adds    
 81 #define float32_sub                     __subs    
 82 #define float32_mul                     __muls    
 83 #define float32_div                     __divs    
 84 #define int32_to_float32                __floa    
 85 #define float32_to_int32_round_to_zero  __fixs    
 86 #define float32_to_uint32_round_to_zero __fixu    
 87                                                   
 88 /* These ones go through the glue code.  To av    
 89    we rename the internal functions too.  */      
 90 #define float32_eq                      ___flo    
 91 #define float32_le                      ___flo    
 92 #define float32_lt                      ___flo    
 93                                                   
 94 /* All the 64-bit ops have to go through the g    
 95    trick.  */                                     
 96 #define float64_add                     ___flo    
 97 #define float64_sub                     ___flo    
 98 #define float64_mul                     ___flo    
 99 #define float64_div                     ___flo    
100 #define int32_to_float64                ___int    
101 #define float64_to_int32_round_to_zero  ___flo    
102 #define float64_to_uint32_round_to_zero ___flo    
103 #define float64_to_float32              ___flo    
104 #define float32_to_float64              ___flo    
105 #define float64_eq                      ___flo    
106 #define float64_le                      ___flo    
107 #define float64_lt                      ___flo    
108                                                   
109 #if 0                                             
110 #define float64_add                     __addd    
111 #define float64_sub                     __subd    
112 #define float64_mul                     __muld    
113 #define float64_div                     __divd    
114 #define int32_to_float64                __floa    
115 #define float64_to_int32_round_to_zero  __fixd    
116 #define float64_to_uint32_round_to_zero __fixu    
117 #define float64_to_float32              __trun    
118 #define float32_to_float64              __exte    
119 #endif                                            
120                                                   
121 #endif                                            
122                                                   

~ [ 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