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

TOMOYO Linux Cross Reference
Linux/arch/arm/nwfpe/fpsr.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/fpsr.h (Version linux-6.12-rc7) and /arch/ppc/nwfpe/fpsr.h (Version linux-5.19.17)


  1 /* SPDX-License-Identifier: GPL-2.0-or-later *      1 
  2 /*                                                
  3     NetWinder Floating Point Emulator             
  4     (c) Rebel.com, 1998-1999                      
  5                                                   
  6     Direct questions, comments to Scott Bambro    
  7                                                   
  8 */                                                
  9                                                   
 10 #ifndef __FPSR_H__                                
 11 #define __FPSR_H__                                
 12                                                   
 13 /*                                                
 14 The FPSR is a 32 bit register consisting of 4     
 15 one byte.                                         
 16                                                   
 17         SYSTEM ID                                 
 18         EXCEPTION TRAP ENABLE BYTE                
 19         SYSTEM CONTROL BYTE                       
 20         CUMULATIVE EXCEPTION FLAGS BYTE           
 21                                                   
 22 The FPCR is a 32 bit register consisting of bi    
 23 */                                                
 24                                                   
 25 /* SYSTEM ID                                      
 26 ------------                                      
 27 Note: the system id byte is read only  */         
 28                                                   
 29 typedef unsigned int FPSR;      /* type for fl    
 30 typedef unsigned int FPCR;      /* type for fl    
 31                                                   
 32 #define MASK_SYSID              0xff000000        
 33 #define BIT_HARDWARE            0x80000000        
 34 #define FP_EMULATOR             0x01000000        
 35 #define FP_ACCELERATOR          0x81000000        
 36                                                   
 37 /* EXCEPTION TRAP ENABLE BYTE                     
 38 ----------------------------- */                  
 39                                                   
 40 #define MASK_TRAP_ENABLE        0x00ff0000        
 41 #define MASK_TRAP_ENABLE_STRICT 0x001f0000        
 42 #define BIT_IXE         0x00100000      /* ine    
 43 #define BIT_UFE         0x00080000      /* und    
 44 #define BIT_OFE         0x00040000      /* ove    
 45 #define BIT_DZE         0x00020000      /* div    
 46 #define BIT_IOE         0x00010000      /* inv    
 47                                                   
 48 /* SYSTEM CONTROL BYTE                            
 49 ---------------------- */                         
 50                                                   
 51 #define MASK_SYSTEM_CONTROL     0x0000ff00        
 52 #define MASK_TRAP_STRICT        0x00001f00        
 53                                                   
 54 #define BIT_AC  0x00001000      /* use alterna    
 55                                    for compare    
 56 #define BIT_EP  0x00000800      /* use expande    
 57 #define BIT_SO  0x00000400      /* select sync    
 58 #define BIT_NE  0x00000200      /* NaN excepti    
 59 #define BIT_ND  0x00000100      /* no denormal    
 60                                                   
 61 /* CUMULATIVE EXCEPTION FLAGS BYTE                
 62 ---------------------------------- */             
 63                                                   
 64 #define MASK_EXCEPTION_FLAGS            0x0000    
 65 #define MASK_EXCEPTION_FLAGS_STRICT     0x0000    
 66                                                   
 67 #define BIT_IXC         0x00000010      /* ine    
 68 #define BIT_UFC         0x00000008      /* und    
 69 #define BIT_OFC         0x00000004      /* ove    
 70 #define BIT_DZC         0x00000002      /* div    
 71 #define BIT_IOC         0x00000001      /* inv    
 72                                                   
 73 /* Floating Point Control Register                
 74 ----------------------------------*/              
 75                                                   
 76 #define BIT_RU          0x80000000      /* rou    
 77 #define BIT_IE          0x10000000      /* ine    
 78 #define BIT_MO          0x08000000      /* man    
 79 #define BIT_EO          0x04000000      /* exp    
 80 #define BIT_SB          0x00000800      /* sto    
 81 #define BIT_AB          0x00000400      /* ari    
 82 #define BIT_RE          0x00000200      /* rou    
 83 #define BIT_DA          0x00000100      /* dis    
 84                                                   
 85 #define MASK_OP         0x00f08010      /* AU     
 86 #define MASK_PR         0x00080080      /* AU     
 87 #define MASK_S1         0x00070000      /* AU     
 88 #define MASK_S2         0x00000007      /* AU     
 89 #define MASK_DS         0x00007000      /* AU     
 90 #define MASK_RM         0x00000060      /* AU     
 91 #define MASK_ALU        0x9cfff2ff      /* onl    
 92 #define MASK_RESET      0x00000d00      /* bit    
 93 #define MASK_WFC        MASK_RESET                
 94 #define MASK_RFC        ~MASK_RESET               
 95                                                   
 96 #endif                                            
 97                                                   

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