Skip to content

Commit 1e05d69

Browse files
committed
ee: Fix builds
1 parent 354ded2 commit 1e05d69

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ee/ee_cached.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ static inline void ee_i_cvtw(struct ee_state* ee, const ee_instruction& i) {
775775
fpu_cvtws(&ee->f[EE_D_FD], &ee->f[EE_D_FS]);
776776
}
777777
static inline void ee_i_dadd(struct ee_state* ee, const ee_instruction& i) {
778-
int64_t r;
778+
long long r;
779779

780780
if (SADDOVF64((int64_t)EE_RS, (int64_t)EE_RT, &r)) {
781781
ee_exception_level1(ee, CAUSE_EXC1_OV);
@@ -784,7 +784,7 @@ static inline void ee_i_dadd(struct ee_state* ee, const ee_instruction& i) {
784784
}
785785
}
786786
static inline void ee_i_daddi(struct ee_state* ee, const ee_instruction& i) {
787-
int64_t r;
787+
long long r;
788788

789789
if (SADDOVF64((int64_t)EE_RS, SE6416(EE_D_I16), &r)) {
790790
ee_exception_level1(ee, CAUSE_EXC1_OV);
@@ -921,7 +921,7 @@ static inline void ee_i_dsrlv(struct ee_state* ee, const ee_instruction& i) {
921921
EE_RD = EE_RT >> (EE_RS & 0x3f);
922922
}
923923
static inline void ee_i_dsub(struct ee_state* ee, const ee_instruction& i) {
924-
int64_t r;
924+
long long r;
925925

926926
if (SSUBOVF64((int64_t)EE_RS, (int64_t)EE_RT, &r)) {
927927
ee_exception_level1(ee, CAUSE_EXC1_OV);

0 commit comments

Comments
 (0)