mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1047301: Silence Clang warning about signed/unsigned comparison in SIMD.cpp; r=jandem
This commit is contained in:
parent
2b1a58480d
commit
346fb91740
@ -675,7 +675,8 @@ FuncShuffle(JSContext *cx, unsigned argc, Value *vp)
|
||||
// bits select the first lane, the next log2(L) the second, and so on.
|
||||
const uint32_t SELECT_SHIFT = FloorLog2(V::lanes);
|
||||
const uint32_t SELECT_MASK = V::lanes - 1;
|
||||
const uint32_t MAX_MASK_VALUE = uint32_t(pow(double(V::lanes), double(V::lanes))) - 1;
|
||||
const int32_t MAX_MASK_VALUE = int32_t(pow(double(V::lanes), double(V::lanes))) - 1;
|
||||
JS_ASSERT(MAX_MASK_VALUE > 0);
|
||||
|
||||
Elem result[V::lanes];
|
||||
if (args.length() == 2) {
|
||||
|
Loading…
Reference in New Issue
Block a user