Chromium Code Reviews| Index: sdk/lib/typed_data/dart2js/typed_data_dart2js.dart |
| diff --git a/sdk/lib/typed_data/dart2js/typed_data_dart2js.dart b/sdk/lib/typed_data/dart2js/typed_data_dart2js.dart |
| index 0c761ff5fada6cf08d77cb9545de22cb4d3bf27c..8471b8a8f0acb158c0e75e2a1f7bf254f7f07330 100644 |
| --- a/sdk/lib/typed_data/dart2js/typed_data_dart2js.dart |
| +++ b/sdk/lib/typed_data/dart2js/typed_data_dart2js.dart |
| @@ -931,264 +931,267 @@ class Float32x4 { |
| /// Extracted w value. |
| double get w => _storage[3]; |
| - Float32x4 get xxxx => _shuffle(0x0); |
| - Float32x4 get xxxy => _shuffle(0x40); |
| - Float32x4 get xxxz => _shuffle(0x80); |
| - Float32x4 get xxxw => _shuffle(0xC0); |
| - Float32x4 get xxyx => _shuffle(0x10); |
| - Float32x4 get xxyy => _shuffle(0x50); |
| - Float32x4 get xxyz => _shuffle(0x90); |
| - Float32x4 get xxyw => _shuffle(0xD0); |
| - Float32x4 get xxzx => _shuffle(0x20); |
| - Float32x4 get xxzy => _shuffle(0x60); |
| - Float32x4 get xxzz => _shuffle(0xA0); |
| - Float32x4 get xxzw => _shuffle(0xE0); |
| - Float32x4 get xxwx => _shuffle(0x30); |
| - Float32x4 get xxwy => _shuffle(0x70); |
| - Float32x4 get xxwz => _shuffle(0xB0); |
| - Float32x4 get xxww => _shuffle(0xF0); |
| - Float32x4 get xyxx => _shuffle(0x4); |
| - Float32x4 get xyxy => _shuffle(0x44); |
| - Float32x4 get xyxz => _shuffle(0x84); |
| - Float32x4 get xyxw => _shuffle(0xC4); |
| - Float32x4 get xyyx => _shuffle(0x14); |
| - Float32x4 get xyyy => _shuffle(0x54); |
| - Float32x4 get xyyz => _shuffle(0x94); |
| - Float32x4 get xyyw => _shuffle(0xD4); |
| - Float32x4 get xyzx => _shuffle(0x24); |
| - Float32x4 get xyzy => _shuffle(0x64); |
| - Float32x4 get xyzz => _shuffle(0xA4); |
| - Float32x4 get xyzw => _shuffle(0xE4); |
| - Float32x4 get xywx => _shuffle(0x34); |
| - Float32x4 get xywy => _shuffle(0x74); |
| - Float32x4 get xywz => _shuffle(0xB4); |
| - Float32x4 get xyww => _shuffle(0xF4); |
| - Float32x4 get xzxx => _shuffle(0x8); |
| - Float32x4 get xzxy => _shuffle(0x48); |
| - Float32x4 get xzxz => _shuffle(0x88); |
| - Float32x4 get xzxw => _shuffle(0xC8); |
| - Float32x4 get xzyx => _shuffle(0x18); |
| - Float32x4 get xzyy => _shuffle(0x58); |
| - Float32x4 get xzyz => _shuffle(0x98); |
| - Float32x4 get xzyw => _shuffle(0xD8); |
| - Float32x4 get xzzx => _shuffle(0x28); |
| - Float32x4 get xzzy => _shuffle(0x68); |
| - Float32x4 get xzzz => _shuffle(0xA8); |
| - Float32x4 get xzzw => _shuffle(0xE8); |
| - Float32x4 get xzwx => _shuffle(0x38); |
| - Float32x4 get xzwy => _shuffle(0x78); |
| - Float32x4 get xzwz => _shuffle(0xB8); |
| - Float32x4 get xzww => _shuffle(0xF8); |
| - Float32x4 get xwxx => _shuffle(0xC); |
| - Float32x4 get xwxy => _shuffle(0x4C); |
| - Float32x4 get xwxz => _shuffle(0x8C); |
| - Float32x4 get xwxw => _shuffle(0xCC); |
| - Float32x4 get xwyx => _shuffle(0x1C); |
| - Float32x4 get xwyy => _shuffle(0x5C); |
| - Float32x4 get xwyz => _shuffle(0x9C); |
| - Float32x4 get xwyw => _shuffle(0xDC); |
| - Float32x4 get xwzx => _shuffle(0x2C); |
| - Float32x4 get xwzy => _shuffle(0x6C); |
| - Float32x4 get xwzz => _shuffle(0xAC); |
| - Float32x4 get xwzw => _shuffle(0xEC); |
| - Float32x4 get xwwx => _shuffle(0x3C); |
| - Float32x4 get xwwy => _shuffle(0x7C); |
| - Float32x4 get xwwz => _shuffle(0xBC); |
| - Float32x4 get xwww => _shuffle(0xFC); |
| - Float32x4 get yxxx => _shuffle(0x1); |
| - Float32x4 get yxxy => _shuffle(0x41); |
| - Float32x4 get yxxz => _shuffle(0x81); |
| - Float32x4 get yxxw => _shuffle(0xC1); |
| - Float32x4 get yxyx => _shuffle(0x11); |
| - Float32x4 get yxyy => _shuffle(0x51); |
| - Float32x4 get yxyz => _shuffle(0x91); |
| - Float32x4 get yxyw => _shuffle(0xD1); |
| - Float32x4 get yxzx => _shuffle(0x21); |
| - Float32x4 get yxzy => _shuffle(0x61); |
| - Float32x4 get yxzz => _shuffle(0xA1); |
| - Float32x4 get yxzw => _shuffle(0xE1); |
| - Float32x4 get yxwx => _shuffle(0x31); |
| - Float32x4 get yxwy => _shuffle(0x71); |
| - Float32x4 get yxwz => _shuffle(0xB1); |
| - Float32x4 get yxww => _shuffle(0xF1); |
| - Float32x4 get yyxx => _shuffle(0x5); |
| - Float32x4 get yyxy => _shuffle(0x45); |
| - Float32x4 get yyxz => _shuffle(0x85); |
| - Float32x4 get yyxw => _shuffle(0xC5); |
| - Float32x4 get yyyx => _shuffle(0x15); |
| - Float32x4 get yyyy => _shuffle(0x55); |
| - Float32x4 get yyyz => _shuffle(0x95); |
| - Float32x4 get yyyw => _shuffle(0xD5); |
| - Float32x4 get yyzx => _shuffle(0x25); |
| - Float32x4 get yyzy => _shuffle(0x65); |
| - Float32x4 get yyzz => _shuffle(0xA5); |
| - Float32x4 get yyzw => _shuffle(0xE5); |
| - Float32x4 get yywx => _shuffle(0x35); |
| - Float32x4 get yywy => _shuffle(0x75); |
| - Float32x4 get yywz => _shuffle(0xB5); |
| - Float32x4 get yyww => _shuffle(0xF5); |
| - Float32x4 get yzxx => _shuffle(0x9); |
| - Float32x4 get yzxy => _shuffle(0x49); |
| - Float32x4 get yzxz => _shuffle(0x89); |
| - Float32x4 get yzxw => _shuffle(0xC9); |
| - Float32x4 get yzyx => _shuffle(0x19); |
| - Float32x4 get yzyy => _shuffle(0x59); |
| - Float32x4 get yzyz => _shuffle(0x99); |
| - Float32x4 get yzyw => _shuffle(0xD9); |
| - Float32x4 get yzzx => _shuffle(0x29); |
| - Float32x4 get yzzy => _shuffle(0x69); |
| - Float32x4 get yzzz => _shuffle(0xA9); |
| - Float32x4 get yzzw => _shuffle(0xE9); |
| - Float32x4 get yzwx => _shuffle(0x39); |
| - Float32x4 get yzwy => _shuffle(0x79); |
| - Float32x4 get yzwz => _shuffle(0xB9); |
| - Float32x4 get yzww => _shuffle(0xF9); |
| - Float32x4 get ywxx => _shuffle(0xD); |
| - Float32x4 get ywxy => _shuffle(0x4D); |
| - Float32x4 get ywxz => _shuffle(0x8D); |
| - Float32x4 get ywxw => _shuffle(0xCD); |
| - Float32x4 get ywyx => _shuffle(0x1D); |
| - Float32x4 get ywyy => _shuffle(0x5D); |
| - Float32x4 get ywyz => _shuffle(0x9D); |
| - Float32x4 get ywyw => _shuffle(0xDD); |
| - Float32x4 get ywzx => _shuffle(0x2D); |
| - Float32x4 get ywzy => _shuffle(0x6D); |
| - Float32x4 get ywzz => _shuffle(0xAD); |
| - Float32x4 get ywzw => _shuffle(0xED); |
| - Float32x4 get ywwx => _shuffle(0x3D); |
| - Float32x4 get ywwy => _shuffle(0x7D); |
| - Float32x4 get ywwz => _shuffle(0xBD); |
| - Float32x4 get ywww => _shuffle(0xFD); |
| - Float32x4 get zxxx => _shuffle(0x2); |
| - Float32x4 get zxxy => _shuffle(0x42); |
| - Float32x4 get zxxz => _shuffle(0x82); |
| - Float32x4 get zxxw => _shuffle(0xC2); |
| - Float32x4 get zxyx => _shuffle(0x12); |
| - Float32x4 get zxyy => _shuffle(0x52); |
| - Float32x4 get zxyz => _shuffle(0x92); |
| - Float32x4 get zxyw => _shuffle(0xD2); |
| - Float32x4 get zxzx => _shuffle(0x22); |
| - Float32x4 get zxzy => _shuffle(0x62); |
| - Float32x4 get zxzz => _shuffle(0xA2); |
| - Float32x4 get zxzw => _shuffle(0xE2); |
| - Float32x4 get zxwx => _shuffle(0x32); |
| - Float32x4 get zxwy => _shuffle(0x72); |
| - Float32x4 get zxwz => _shuffle(0xB2); |
| - Float32x4 get zxww => _shuffle(0xF2); |
| - Float32x4 get zyxx => _shuffle(0x6); |
| - Float32x4 get zyxy => _shuffle(0x46); |
| - Float32x4 get zyxz => _shuffle(0x86); |
| - Float32x4 get zyxw => _shuffle(0xC6); |
| - Float32x4 get zyyx => _shuffle(0x16); |
| - Float32x4 get zyyy => _shuffle(0x56); |
| - Float32x4 get zyyz => _shuffle(0x96); |
| - Float32x4 get zyyw => _shuffle(0xD6); |
| - Float32x4 get zyzx => _shuffle(0x26); |
| - Float32x4 get zyzy => _shuffle(0x66); |
| - Float32x4 get zyzz => _shuffle(0xA6); |
| - Float32x4 get zyzw => _shuffle(0xE6); |
| - Float32x4 get zywx => _shuffle(0x36); |
| - Float32x4 get zywy => _shuffle(0x76); |
| - Float32x4 get zywz => _shuffle(0xB6); |
| - Float32x4 get zyww => _shuffle(0xF6); |
| - Float32x4 get zzxx => _shuffle(0xA); |
| - Float32x4 get zzxy => _shuffle(0x4A); |
| - Float32x4 get zzxz => _shuffle(0x8A); |
| - Float32x4 get zzxw => _shuffle(0xCA); |
| - Float32x4 get zzyx => _shuffle(0x1A); |
| - Float32x4 get zzyy => _shuffle(0x5A); |
| - Float32x4 get zzyz => _shuffle(0x9A); |
| - Float32x4 get zzyw => _shuffle(0xDA); |
| - Float32x4 get zzzx => _shuffle(0x2A); |
| - Float32x4 get zzzy => _shuffle(0x6A); |
| - Float32x4 get zzzz => _shuffle(0xAA); |
| - Float32x4 get zzzw => _shuffle(0xEA); |
| - Float32x4 get zzwx => _shuffle(0x3A); |
| - Float32x4 get zzwy => _shuffle(0x7A); |
| - Float32x4 get zzwz => _shuffle(0xBA); |
| - Float32x4 get zzww => _shuffle(0xFA); |
| - Float32x4 get zwxx => _shuffle(0xE); |
| - Float32x4 get zwxy => _shuffle(0x4E); |
| - Float32x4 get zwxz => _shuffle(0x8E); |
| - Float32x4 get zwxw => _shuffle(0xCE); |
| - Float32x4 get zwyx => _shuffle(0x1E); |
| - Float32x4 get zwyy => _shuffle(0x5E); |
| - Float32x4 get zwyz => _shuffle(0x9E); |
| - Float32x4 get zwyw => _shuffle(0xDE); |
| - Float32x4 get zwzx => _shuffle(0x2E); |
| - Float32x4 get zwzy => _shuffle(0x6E); |
| - Float32x4 get zwzz => _shuffle(0xAE); |
| - Float32x4 get zwzw => _shuffle(0xEE); |
| - Float32x4 get zwwx => _shuffle(0x3E); |
| - Float32x4 get zwwy => _shuffle(0x7E); |
| - Float32x4 get zwwz => _shuffle(0xBE); |
| - Float32x4 get zwww => _shuffle(0xFE); |
| - Float32x4 get wxxx => _shuffle(0x3); |
| - Float32x4 get wxxy => _shuffle(0x43); |
| - Float32x4 get wxxz => _shuffle(0x83); |
| - Float32x4 get wxxw => _shuffle(0xC3); |
| - Float32x4 get wxyx => _shuffle(0x13); |
| - Float32x4 get wxyy => _shuffle(0x53); |
| - Float32x4 get wxyz => _shuffle(0x93); |
| - Float32x4 get wxyw => _shuffle(0xD3); |
| - Float32x4 get wxzx => _shuffle(0x23); |
| - Float32x4 get wxzy => _shuffle(0x63); |
| - Float32x4 get wxzz => _shuffle(0xA3); |
| - Float32x4 get wxzw => _shuffle(0xE3); |
| - Float32x4 get wxwx => _shuffle(0x33); |
| - Float32x4 get wxwy => _shuffle(0x73); |
| - Float32x4 get wxwz => _shuffle(0xB3); |
| - Float32x4 get wxww => _shuffle(0xF3); |
| - Float32x4 get wyxx => _shuffle(0x7); |
| - Float32x4 get wyxy => _shuffle(0x47); |
| - Float32x4 get wyxz => _shuffle(0x87); |
| - Float32x4 get wyxw => _shuffle(0xC7); |
| - Float32x4 get wyyx => _shuffle(0x17); |
| - Float32x4 get wyyy => _shuffle(0x57); |
| - Float32x4 get wyyz => _shuffle(0x97); |
| - Float32x4 get wyyw => _shuffle(0xD7); |
| - Float32x4 get wyzx => _shuffle(0x27); |
| - Float32x4 get wyzy => _shuffle(0x67); |
| - Float32x4 get wyzz => _shuffle(0xA7); |
| - Float32x4 get wyzw => _shuffle(0xE7); |
| - Float32x4 get wywx => _shuffle(0x37); |
| - Float32x4 get wywy => _shuffle(0x77); |
| - Float32x4 get wywz => _shuffle(0xB7); |
| - Float32x4 get wyww => _shuffle(0xF7); |
| - Float32x4 get wzxx => _shuffle(0xB); |
| - Float32x4 get wzxy => _shuffle(0x4B); |
| - Float32x4 get wzxz => _shuffle(0x8B); |
| - Float32x4 get wzxw => _shuffle(0xCB); |
| - Float32x4 get wzyx => _shuffle(0x1B); |
| - Float32x4 get wzyy => _shuffle(0x5B); |
| - Float32x4 get wzyz => _shuffle(0x9B); |
| - Float32x4 get wzyw => _shuffle(0xDB); |
| - Float32x4 get wzzx => _shuffle(0x2B); |
| - Float32x4 get wzzy => _shuffle(0x6B); |
| - Float32x4 get wzzz => _shuffle(0xAB); |
| - Float32x4 get wzzw => _shuffle(0xEB); |
| - Float32x4 get wzwx => _shuffle(0x3B); |
| - Float32x4 get wzwy => _shuffle(0x7B); |
| - Float32x4 get wzwz => _shuffle(0xBB); |
| - Float32x4 get wzww => _shuffle(0xFB); |
| - Float32x4 get wwxx => _shuffle(0xF); |
| - Float32x4 get wwxy => _shuffle(0x4F); |
| - Float32x4 get wwxz => _shuffle(0x8F); |
| - Float32x4 get wwxw => _shuffle(0xCF); |
| - Float32x4 get wwyx => _shuffle(0x1F); |
| - Float32x4 get wwyy => _shuffle(0x5F); |
| - Float32x4 get wwyz => _shuffle(0x9F); |
| - Float32x4 get wwyw => _shuffle(0xDF); |
| - Float32x4 get wwzx => _shuffle(0x2F); |
| - Float32x4 get wwzy => _shuffle(0x6F); |
| - Float32x4 get wwzz => _shuffle(0xAF); |
| - Float32x4 get wwzw => _shuffle(0xEF); |
| - Float32x4 get wwwx => _shuffle(0x3F); |
| - Float32x4 get wwwy => _shuffle(0x7F); |
| - Float32x4 get wwwz => _shuffle(0xBF); |
| - Float32x4 get wwww => _shuffle(0xFF); |
| - |
| - Float32x4 _shuffle(int m) { |
| + static const int xxxx = 0x0; |
| + static const int xxxy = 0x40; |
| + static const int xxxz = 0x80; |
| + static const int xxxw = 0xC0; |
| + static const int xxyx = 0x10; |
| + static const int xxyy = 0x50; |
| + static const int xxyz = 0x90; |
| + static const int xxyw = 0xD0; |
| + static const int xxzx = 0x20; |
| + static const int xxzy = 0x60; |
| + static const int xxzz = 0xA0; |
| + static const int xxzw = 0xE0; |
| + static const int xxwx = 0x30; |
| + static const int xxwy = 0x70; |
| + static const int xxwz = 0xB0; |
| + static const int xxww = 0xF0; |
| + static const int xyxx = 0x4; |
| + static const int xyxy = 0x44; |
| + static const int xyxz = 0x84; |
| + static const int xyxw = 0xC4; |
| + static const int xyyx = 0x14; |
| + static const int xyyy = 0x54; |
| + static const int xyyz = 0x94; |
| + static const int xyyw = 0xD4; |
| + static const int xyzx = 0x24; |
| + static const int xyzy = 0x64; |
| + static const int xyzz = 0xA4; |
| + static const int xyzw = 0xE4; |
| + static const int xywx = 0x34; |
| + static const int xywy = 0x74; |
| + static const int xywz = 0xB4; |
| + static const int xyww = 0xF4; |
| + static const int xzxx = 0x8; |
| + static const int xzxy = 0x48; |
| + static const int xzxz = 0x88; |
| + static const int xzxw = 0xC8; |
| + static const int xzyx = 0x18; |
| + static const int xzyy = 0x58; |
| + static const int xzyz = 0x98; |
| + static const int xzyw = 0xD8; |
| + static const int xzzx = 0x28; |
| + static const int xzzy = 0x68; |
| + static const int xzzz = 0xA8; |
| + static const int xzzw = 0xE8; |
| + static const int xzwx = 0x38; |
| + static const int xzwy = 0x78; |
| + static const int xzwz = 0xB8; |
| + static const int xzww = 0xF8; |
| + static const int xwxx = 0xC; |
| + static const int xwxy = 0x4C; |
| + static const int xwxz = 0x8C; |
| + static const int xwxw = 0xCC; |
| + static const int xwyx = 0x1C; |
| + static const int xwyy = 0x5C; |
| + static const int xwyz = 0x9C; |
| + static const int xwyw = 0xDC; |
| + static const int xwzx = 0x2C; |
| + static const int xwzy = 0x6C; |
| + static const int xwzz = 0xAC; |
| + static const int xwzw = 0xEC; |
| + static const int xwwx = 0x3C; |
| + static const int xwwy = 0x7C; |
| + static const int xwwz = 0xBC; |
| + static const int xwww = 0xFC; |
| + static const int yxxx = 0x1; |
| + static const int yxxy = 0x41; |
| + static const int yxxz = 0x81; |
| + static const int yxxw = 0xC1; |
| + static const int yxyx = 0x11; |
| + static const int yxyy = 0x51; |
| + static const int yxyz = 0x91; |
| + static const int yxyw = 0xD1; |
| + static const int yxzx = 0x21; |
| + static const int yxzy = 0x61; |
| + static const int yxzz = 0xA1; |
| + static const int yxzw = 0xE1; |
| + static const int yxwx = 0x31; |
| + static const int yxwy = 0x71; |
| + static const int yxwz = 0xB1; |
| + static const int yxww = 0xF1; |
| + static const int yyxx = 0x5; |
| + static const int yyxy = 0x45; |
| + static const int yyxz = 0x85; |
| + static const int yyxw = 0xC5; |
| + static const int yyyx = 0x15; |
| + static const int yyyy = 0x55; |
| + static const int yyyz = 0x95; |
| + static const int yyyw = 0xD5; |
| + static const int yyzx = 0x25; |
| + static const int yyzy = 0x65; |
| + static const int yyzz = 0xA5; |
| + static const int yyzw = 0xE5; |
| + static const int yywx = 0x35; |
| + static const int yywy = 0x75; |
| + static const int yywz = 0xB5; |
| + static const int yyww = 0xF5; |
| + static const int yzxx = 0x9; |
| + static const int yzxy = 0x49; |
| + static const int yzxz = 0x89; |
| + static const int yzxw = 0xC9; |
| + static const int yzyx = 0x19; |
| + static const int yzyy = 0x59; |
| + static const int yzyz = 0x99; |
| + static const int yzyw = 0xD9; |
| + static const int yzzx = 0x29; |
| + static const int yzzy = 0x69; |
| + static const int yzzz = 0xA9; |
| + static const int yzzw = 0xE9; |
| + static const int yzwx = 0x39; |
| + static const int yzwy = 0x79; |
| + static const int yzwz = 0xB9; |
| + static const int yzww = 0xF9; |
| + static const int ywxx = 0xD; |
| + static const int ywxy = 0x4D; |
| + static const int ywxz = 0x8D; |
| + static const int ywxw = 0xCD; |
| + static const int ywyx = 0x1D; |
| + static const int ywyy = 0x5D; |
| + static const int ywyz = 0x9D; |
| + static const int ywyw = 0xDD; |
| + static const int ywzx = 0x2D; |
| + static const int ywzy = 0x6D; |
| + static const int ywzz = 0xAD; |
| + static const int ywzw = 0xED; |
| + static const int ywwx = 0x3D; |
| + static const int ywwy = 0x7D; |
| + static const int ywwz = 0xBD; |
| + static const int ywww = 0xFD; |
| + static const int zxxx = 0x2; |
| + static const int zxxy = 0x42; |
| + static const int zxxz = 0x82; |
| + static const int zxxw = 0xC2; |
| + static const int zxyx = 0x12; |
| + static const int zxyy = 0x52; |
| + static const int zxyz = 0x92; |
| + static const int zxyw = 0xD2; |
| + static const int zxzx = 0x22; |
| + static const int zxzy = 0x62; |
| + static const int zxzz = 0xA2; |
| + static const int zxzw = 0xE2; |
| + static const int zxwx = 0x32; |
| + static const int zxwy = 0x72; |
| + static const int zxwz = 0xB2; |
| + static const int zxww = 0xF2; |
| + static const int zyxx = 0x6; |
| + static const int zyxy = 0x46; |
| + static const int zyxz = 0x86; |
| + static const int zyxw = 0xC6; |
| + static const int zyyx = 0x16; |
| + static const int zyyy = 0x56; |
| + static const int zyyz = 0x96; |
| + static const int zyyw = 0xD6; |
| + static const int zyzx = 0x26; |
| + static const int zyzy = 0x66; |
| + static const int zyzz = 0xA6; |
| + static const int zyzw = 0xE6; |
| + static const int zywx = 0x36; |
| + static const int zywy = 0x76; |
| + static const int zywz = 0xB6; |
| + static const int zyww = 0xF6; |
| + static const int zzxx = 0xA; |
| + static const int zzxy = 0x4A; |
| + static const int zzxz = 0x8A; |
| + static const int zzxw = 0xCA; |
| + static const int zzyx = 0x1A; |
| + static const int zzyy = 0x5A; |
| + static const int zzyz = 0x9A; |
| + static const int zzyw = 0xDA; |
| + static const int zzzx = 0x2A; |
| + static const int zzzy = 0x6A; |
| + static const int zzzz = 0xAA; |
| + static const int zzzw = 0xEA; |
| + static const int zzwx = 0x3A; |
| + static const int zzwy = 0x7A; |
| + static const int zzwz = 0xBA; |
| + static const int zzww = 0xFA; |
| + static const int zwxx = 0xE; |
| + static const int zwxy = 0x4E; |
| + static const int zwxz = 0x8E; |
| + static const int zwxw = 0xCE; |
| + static const int zwyx = 0x1E; |
| + static const int zwyy = 0x5E; |
| + static const int zwyz = 0x9E; |
| + static const int zwyw = 0xDE; |
| + static const int zwzx = 0x2E; |
| + static const int zwzy = 0x6E; |
| + static const int zwzz = 0xAE; |
| + static const int zwzw = 0xEE; |
| + static const int zwwx = 0x3E; |
| + static const int zwwy = 0x7E; |
| + static const int zwwz = 0xBE; |
| + static const int zwww = 0xFE; |
| + static const int wxxx = 0x3; |
| + static const int wxxy = 0x43; |
| + static const int wxxz = 0x83; |
| + static const int wxxw = 0xC3; |
| + static const int wxyx = 0x13; |
| + static const int wxyy = 0x53; |
| + static const int wxyz = 0x93; |
| + static const int wxyw = 0xD3; |
| + static const int wxzx = 0x23; |
| + static const int wxzy = 0x63; |
| + static const int wxzz = 0xA3; |
| + static const int wxzw = 0xE3; |
| + static const int wxwx = 0x33; |
| + static const int wxwy = 0x73; |
| + static const int wxwz = 0xB3; |
| + static const int wxww = 0xF3; |
| + static const int wyxx = 0x7; |
| + static const int wyxy = 0x47; |
| + static const int wyxz = 0x87; |
| + static const int wyxw = 0xC7; |
| + static const int wyyx = 0x17; |
| + static const int wyyy = 0x57; |
| + static const int wyyz = 0x97; |
| + static const int wyyw = 0xD7; |
| + static const int wyzx = 0x27; |
| + static const int wyzy = 0x67; |
| + static const int wyzz = 0xA7; |
| + static const int wyzw = 0xE7; |
| + static const int wywx = 0x37; |
| + static const int wywy = 0x77; |
| + static const int wywz = 0xB7; |
| + static const int wyww = 0xF7; |
| + static const int wzxx = 0xB; |
| + static const int wzxy = 0x4B; |
| + static const int wzxz = 0x8B; |
| + static const int wzxw = 0xCB; |
| + static const int wzyx = 0x1B; |
| + static const int wzyy = 0x5B; |
| + static const int wzyz = 0x9B; |
| + static const int wzyw = 0xDB; |
| + static const int wzzx = 0x2B; |
| + static const int wzzy = 0x6B; |
| + static const int wzzz = 0xAB; |
| + static const int wzzw = 0xEB; |
| + static const int wzwx = 0x3B; |
| + static const int wzwy = 0x7B; |
| + static const int wzwz = 0xBB; |
| + static const int wzww = 0xFB; |
| + static const int wwxx = 0xF; |
| + static const int wwxy = 0x4F; |
| + static const int wwxz = 0x8F; |
| + static const int wwxw = 0xCF; |
| + static const int wwyx = 0x1F; |
| + static const int wwyy = 0x5F; |
| + static const int wwyz = 0x9F; |
| + static const int wwyw = 0xDF; |
| + static const int wwzx = 0x2F; |
| + static const int wwzy = 0x6F; |
| + static const int wwzz = 0xAF; |
| + static const int wwzw = 0xEF; |
| + static const int wwwx = 0x3F; |
| + static const int wwwy = 0x7F; |
| + static const int wwwz = 0xBF; |
| + static const int wwww = 0xFF; |
|
siva
2013/08/14 18:27:54
Same question about the constants here being dupli
Cutch
2013/08/14 21:15:28
These need to be here because the sdk's Float32x4
|
| + |
| + Float32x4 shuffle(int m) { |
| + if (m < 0 || m > 255) { |
| + throw new RangeError('mask $m must be in the range [0..256)'); |
| + } |
| double _x = _storage[m & 0x3]; |
| double _y = _storage[(m >> 2) & 0x3]; |
| double _z = _storage[(m >> 4) & 0x3]; |