blob: f9926299790b1f5d62e6fcc335c55e9b67d87c0c [file] [log] [blame]
/*
* Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
*/
/**
* @assertion final int y
* Extracts 32-bit mask from y lane.
* @description Checks that the correct value is returned.
* @author msyabro
*/
import "dart:typed_data";
import "../../../Utils/expect.dart";
check(y) {
var obj = new Int32x4(0 ,y, 0, 0);
Expect.equals(y, obj.y);
}
main() {
check(0);
check(1);
check(256);
check(2147483647);
check(-2147483647);
}