-
Notifications
You must be signed in to change notification settings - Fork 63
Conversation
eb5d65b
to
0705f14
Compare
e2e0932
to
1f7507e
Compare
@@ -103,9 +103,9 @@ struct CPUState64 { | |||
SSEVector _sse[128]; | |||
}; | |||
SSEVector const &operator[](size_t index) const { | |||
return _sse[index << 1]; | |||
return _sse[index << 2]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fix is valid regardless of the previous two commits, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes.
2c21798
to
fee853f
Compare
state.x87.foseg = xfpregs.fpregs.fos; | ||
state.x87.fooff = xfpregs.fpregs.foo; | ||
|
||
uint8_t const *st_space = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
auto st_space = ...
13a819c
to
ffdb60f
Compare
0868f85
to
063c714
Compare
static inline void user_to_state32(ds2::Architecture::X86_64::CPUState32 &state, | ||
user_fpregs_struct const &user) { | ||
static inline void | ||
xfpregs_to_state32(ds2::Architecture::X86_64::CPUState32 &state, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can keep the old name, user_to_state32
. I think we just use "user" everywhere to describe the structure that comes from the thread's context.
c553129
to
c9c6bae
Compare
@sas will do the refactors in a non-gross way 😆 |
No description provided.