mirror of https://github.com/PCSX2/pcsx2.git
Remove 2 SSE checks affecting Linux and 64 bit builds, respectively.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@290 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
parent
0bbb879f2b
commit
342b9b8d46
|
@ -468,13 +468,6 @@ void OnConf_Cpu(GtkMenuItem *menuitem, gpointer user_data)
|
||||||
CpuDlg = create_CpuDlg();
|
CpuDlg = create_CpuDlg();
|
||||||
gtk_window_set_title(GTK_WINDOW(CpuDlg), _("Configuration"));
|
gtk_window_set_title(GTK_WINDOW(CpuDlg), _("Configuration"));
|
||||||
|
|
||||||
if(!cpucaps.hasStreamingSIMDExtensions) {
|
|
||||||
Config.Options &= (PCSX2_VU0REC|PCSX2_VU1REC);//disable the config just in case
|
|
||||||
}
|
|
||||||
if(!cpucaps.hasMultimediaExtensions) {
|
|
||||||
Config.Options &= ~(PCSX2_EEREC|PCSX2_VU0REC|PCSX2_VU1REC|PCSX2_COP2REC);//return to interpreter mode
|
|
||||||
}
|
|
||||||
|
|
||||||
gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(lookup_widget(CpuDlg, "GtkCheckButton_EERec")), !!CHECK_EEREC);
|
gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(lookup_widget(CpuDlg, "GtkCheckButton_EERec")), !!CHECK_EEREC);
|
||||||
gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(lookup_widget(CpuDlg, "GtkCheckButton_VU0rec")), !!CHECK_VU0REC);
|
gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(lookup_widget(CpuDlg, "GtkCheckButton_VU0rec")), !!CHECK_VU0REC);
|
||||||
gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(lookup_widget(CpuDlg, "GtkCheckButton_VU1rec")), !!CHECK_VU1REC);
|
gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(lookup_widget(CpuDlg, "GtkCheckButton_VU1rec")), !!CHECK_VU1REC);
|
||||||
|
|
|
@ -1234,24 +1234,21 @@ void SetCPUState(u32 sseMXCSR, u32 sseVUMXCSR)
|
||||||
|
|
||||||
sseMXCSR &= 0xffff; // clear the upper 16 bits since they shouldn't be set
|
sseMXCSR &= 0xffff; // clear the upper 16 bits since they shouldn't be set
|
||||||
sseVUMXCSR &= 0xffff;
|
sseVUMXCSR &= 0xffff;
|
||||||
|
|
||||||
if( cpucaps.hasStreamingSIMDExtensions ) {
|
|
||||||
|
|
||||||
g_sseMXCSR = sseMXCSR;
|
g_sseMXCSR = sseMXCSR;
|
||||||
g_sseVUMXCSR = sseVUMXCSR;
|
g_sseVUMXCSR = sseVUMXCSR;
|
||||||
// do NOT set Denormals-Are-Zero flag (charlie and chocfac messes up)
|
// do NOT set Denormals-Are-Zero flag (charlie and chocfac messes up)
|
||||||
// Update 11/05/08 - Doesnt seem to effect it anymore, for the speed boost, its on :p
|
// Update 11/05/08 - Doesnt seem to effect it anymore, for the speed boost, its on :p
|
||||||
//g_sseMXCSR = 0x9f80; // changing the rounding mode to 0x2000 (near) kills grandia III!
|
//g_sseMXCSR = 0x9f80; // changing the rounding mode to 0x2000 (near) kills grandia III!
|
||||||
// changing the rounding mode to 0x0000 or 0x4000 totally kills gitaroo
|
// changing the rounding mode to 0x0000 or 0x4000 totally kills gitaroo
|
||||||
// so... grandia III wins (you can change individual games with the 'roundmode' patch command)
|
// so... grandia III wins (you can change individual games with the 'roundmode' patch command)
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
_mm_setcsr(g_sseMXCSR); // set the new sse control
|
_mm_setcsr(g_sseMXCSR); // set the new sse control
|
||||||
#else
|
#else
|
||||||
__asm__("ldmxcsr %0" : : "m"(g_sseMXCSR) );
|
__asm__("ldmxcsr %0" : : "m"(g_sseMXCSR) );
|
||||||
#endif
|
#endif
|
||||||
//g_sseVUMXCSR = g_sseMXCSR|0x6000;
|
//g_sseVUMXCSR = g_sseMXCSR|0x6000;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
extern BOOL install_my_handler();
|
extern BOOL install_my_handler();
|
||||||
|
|
Loading…
Reference in New Issue