Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
3366382d
Commit
3366382d
authored
Dec 20, 2013
by
peastman
Browse files
Fixed a compilation error on gcc 4.4
parent
da998c51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openmmapi/include/openmm/internal/vectorize8.h
openmmapi/include/openmm/internal/vectorize8.h
+2
-2
No files found.
openmmapi/include/openmm/internal/vectorize8.h
View file @
3366382d
...
@@ -142,10 +142,10 @@ public:
...
@@ -142,10 +142,10 @@ public:
_mm256_storeu_si256
((
__m256i
*
)
v
,
val
);
_mm256_storeu_si256
((
__m256i
*
)
v
,
val
);
}
}
ivec8
operator
&
(
ivec8
other
)
const
{
ivec8
operator
&
(
ivec8
other
)
const
{
return
_mm256_and_ps
(
_mm256_castsi256_ps
(
val
),
_mm256_castsi256_ps
(
other
.
val
));
return
_mm256_castps_si256
(
_mm256_and_ps
(
_mm256_castsi256_ps
(
val
),
_mm256_castsi256_ps
(
other
.
val
))
)
;
}
}
ivec8
operator
|
(
ivec8
other
)
const
{
ivec8
operator
|
(
ivec8
other
)
const
{
return
_mm256_or_ps
(
_mm256_castsi256_ps
(
val
),
_mm256_castsi256_ps
(
other
.
val
));
return
_mm256_castps_si256
(
_mm256_or_ps
(
_mm256_castsi256_ps
(
val
),
_mm256_castsi256_ps
(
other
.
val
))
)
;
}
}
operator
fvec8
()
const
;
operator
fvec8
()
const
;
};
};
...
...
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