Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Side by Side Diff: sim/v850/simops.h

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sim/v850/sim-main.h ('k') | sim/v850/simops.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef SIMOPS_H 1 #ifndef SIMOPS_H
2 #define SIMOPS_H 2 #define SIMOPS_H
3 int OP_380 (void); 3 int OP_380 (void);
4 int OP_480 (void); 4 int OP_480 (void);
5 int OP_501 (void); 5 int OP_501 (void);
6 int OP_700 (void); 6 int OP_700 (void);
7 int OP_720 (void); 7 int OP_720 (void);
8 int OP_10720 (void); 8 int OP_10720 (void);
9 int OP_740 (void); 9 int OP_740 (void);
10 int OP_760 (void); 10 int OP_760 (void);
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 int OP_107E0 (void); 68 int OP_107E0 (void);
69 int OP_10780 (void); 69 int OP_10780 (void);
70 int OP_1B0780 (void); 70 int OP_1B0780 (void);
71 int OP_130780 (void); 71 int OP_130780 (void);
72 int OP_B0780 (void); 72 int OP_B0780 (void);
73 int OP_30780 (void); 73 int OP_30780 (void);
74 int OP_22007E0 (void); 74 int OP_22007E0 (void);
75 int OP_307F0 (void); 75 int OP_307F0 (void);
76 int OP_107F0 (void); 76 int OP_107F0 (void);
77 int OP_307E0 (void); 77 int OP_307E0 (void);
78
79 int v850_float_compare(SIM_DESC sd, int cmp, sim_fpu wop1, sim_fpu wop2, int dou ble_op_p);
80
81 /* MEMORY ACCESS */
82 unsigned32 load_data_mem(SIM_DESC sd, SIM_ADDR addr, int len);
83 void store_data_mem(SIM_DESC sd, SIM_ADDR addr, int len, unsigned32 data);
84
85 unsigned long Add32 (unsigned long a1, unsigned long a2, int * carry);
86
87 /* FPU */
88
89 /*
90 FPU: update FPSR flags
91 invalid, inexact, overflow, underflow
92 */
93
94 extern void check_invalid_snan (SIM_DESC sd, sim_fpu_status, unsigned int);
95
96 #define check_cvt_fi(sd, status, double_op_p) \
97 update_fpsr (sd, status, FPSR_XEV | FPSR_XEI, double_op_p)
98
99 #define check_cvt_if(sd, status, double_op_p) \
100 update_fpsr (sd, status, FPSR_XEI, double_op_p)
101
102 #define check_cvt_ff(sd, status, double_op_p) \
103 update_fpsr (sd, status, FPSR_XEV | FPSR_XEI | FPSR_XEO | FPSR_XEU, doub le_op_p)
104
105 extern void update_fpsr (SIM_DESC sd, sim_fpu_status, unsigned int, unsigned int );
106
107
108 /*
109 Exception
110 */
111 void SignalException (SIM_DESC sd);
112 void SignalExceptionFPE (SIM_DESC sd, unsigned int double_op_p);
113
114 int mpu_load_mem_test (SIM_DESC sd, unsigned int addr, int len, int base_reg);
115 int mpu_store_mem_test (SIM_DESC sd, unsigned int addr, int len, int base_reg);
116
117 void v850_sar (SIM_DESC sd, unsigned int op0, unsigned int op1, unsigned int *op 2p);
118 void v850_shl (SIM_DESC sd, unsigned int op0, unsigned int op1, unsigned int *op 2p);
119 void v850_shr (SIM_DESC sd, unsigned int op0, unsigned int op1, unsigned int *op 2p);
120 void v850_satadd (SIM_DESC sd, unsigned int op0, unsigned int op1, unsigned int *op2p);
121 void v850_satsub (SIM_DESC sd, unsigned int op0, unsigned int op1, unsigned int *op2p);
122 void v850_div (SIM_DESC sd, unsigned int op0, unsigned int op1, unsigned int *op 2p, unsigned int *op3p);
123 void v850_divu (SIM_DESC sd, unsigned int op0, unsigned int op1, unsigned int *o p2p, unsigned int *op3p);
124
78 #endif 125 #endif
OLDNEW
« no previous file with comments | « sim/v850/sim-main.h ('k') | sim/v850/simops.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698