Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
beetle-saturn-libretro
Commits
bd4e377e
Commit
bd4e377e
authored
Aug 13, 2016
by
Libretro-Admin
Browse files
Use optimized code for ss_memory.h
parent
66dfe5d6
Changes
1
Show whitespace changes
Inline
Side-by-side
mednafen/ss/ss_memory.h
View file @
bd4e377e
...
...
@@ -32,7 +32,7 @@
// "Array" is a bit of a misnomer, but it helps avoid confusion with memset() semantics hopefully.
static
INLINE
void
MDFN_FastArraySet
(
uint64
*
const
dst
,
const
uint64
value
,
const
size_t
count
)
{
#if
defined(ARCH_X86) &&
defined(__x86_64__)
#if defined(__x86_64__)
{
uint32
dummy_output0
,
dummy_output1
;
...
...
@@ -53,7 +53,7 @@ static INLINE void MDFN_FastArraySet(uint64* const dst, const uint64 value, cons
static
INLINE
void
MDFN_FastArraySet
(
uint32
*
const
dst
,
const
uint32
value
,
const
size_t
count
)
{
#if
defined(ARCH_X86) && !
defined(__x86_64__)
#if defined(__x86_64__)
{
uint32
dummy_output0
,
dummy_output1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment