Author: Richard Plangger <[email protected]>
Branch: ppc-vsx-support
Changeset: r87316:eb0230392430
Date: 2016-09-22 09:21 +0200
http://bitbucket.org/pypy/pypy/changeset/eb0230392430/
Log: test used old vec_raw_store/load
diff --git a/rpython/jit/metainterp/test/test_resoperation.py
b/rpython/jit/metainterp/test/test_resoperation.py
--- a/rpython/jit/metainterp/test/test_resoperation.py
+++ b/rpython/jit/metainterp/test/test_resoperation.py
@@ -117,7 +117,8 @@
args = [rop.InputArgInt(), ConstInt(0)]
baseop = rop.ResOperation(rop.rop.RAW_LOAD_I, args, descr=descr)
baseop.set_forwarded(rop.VectorizationInfo(baseop))
- op = rop.VecOperation(rop.rop.VEC_RAW_LOAD_I, args, baseop, 4, descr=descr)
+ op = rop.VecOperation(rop.rop.VEC_LOAD_I, args + [ConstInt(1),
ConstInt(0)],
+ baseop, 4, descr=descr)
assert (op.type, op.datatype, op.bytesize, op.is_vector()) == ('i', 'i',
4, True)
def test_vec_store():
@@ -126,7 +127,8 @@
args = [rop.InputArgRef(), ConstInt(0), vec]
baseop = rop.ResOperation(rop.rop.RAW_STORE, args, descr=descr)
baseop.set_forwarded(rop.VectorizationInfo(baseop))
- op = rop.VecOperation(rop.rop.VEC_RAW_STORE, args, baseop, 2, descr=descr)
+ op = rop.VecOperation(rop.rop.VEC_STORE, args + [ConstInt(1), ConstInt(0)],
+ baseop, 2, descr=descr)
assert (op.type, op.datatype, op.bytesize, op.is_vector()) == ('v', 'v',
8, True)
def test_vec_guard():
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit