FreeBSD Bugzilla – Attachment 121310 Details for
Bug 164243
[PATCH] emulators/dosbox: Fix build with clang
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
src__cpu__core_dynrec__risc_x64.h.diff
src__cpu__core_dynrec__risc_x64.h.diff (text/x-diff; charset=us-ascii), 629 bytes, created by
Yuri Pankov
on 2012-01-17 22:29:58 UTC
(
hide
)
Description:
src__cpu__core_dynrec__risc_x64.h.diff
Filename:
MIME Type:
Creator:
Yuri Pankov
Created:
2012-01-17 22:29:58 UTC
Size:
629 bytes
patch
obsolete
>Index: src/cpu/core_dynrec/risc_x64.h >=================================================================== >--- src/cpu/core_dynrec/risc_x64.h (revision 3775) >+++ src/cpu/core_dynrec/risc_x64.h (working copy) >@@ -85,7 +85,8 @@ > > static INLINE void gen_reg_memaddr(HostReg reg,void* data) { > Bit64s diff = (Bit64s)data-((Bit64s)cache.pos+5); >- if ((diff<0x80000000LL) && (diff>-0x80000000LL)) { >+ if ((Bit64u)diff<0x0000000080000000ULL || >+ (Bit64u)diff>0xffffffff80000000ULL) { > cache_addb(0x05+(reg<<3)); > // RIP-relative addressing is offset after the instruction > cache_addd((Bit32u)(((Bit64u)diff)&0xffffffffLL));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 164243
:
121309
| 121310