aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <sunfish@mozilla.com>2014-03-05 18:49:30 -0800
committerDan Gohman <sunfish@mozilla.com>2014-03-05 18:49:30 -0800
commitcbaebc0a5c48d5cf2bec46fc270e5aac4f36e0b0 (patch)
tree8e0137e3bf9ba552b2355d527980cec14ff7507c
parent28f0397b64792e446de7bb5c4703425d0df02689 (diff)
Disable emptyasm_aue, as inline asm is now diagnosed with an error.
This testcase was originally inspired by libgcrypt. Compiling asm("":::"memory") to a no-op would be doable, and would help the code compile without error, but properly supporting what libgrypt is actually doing here, being paranoid enough to make repeated stores to the same memory location to clear it out, would be much harder, because we'd really need a way to tell the JS engine what's going on so that it doesn't optimize anything away.
-rw-r--r--tests/test_core.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index 6ea0614a..55dabd7f 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -5203,7 +5203,8 @@ def process(filename):
'structphiparam', 'callwithstructural_ta2', 'callwithstructural64_ta2', 'structinparam', # pnacl limitations in ExpandStructRegs
'2xi40', # pnacl limitations in ExpandGetElementPtr
'quoted', # current fastcomp limitations FIXME
- 'atomicrmw_unaligned' # TODO XXX
+ 'atomicrmw_unaligned', # TODO XXX
+ 'emptyasm_aue' # we don't support inline asm
]: continue
if '_ta2' in shortname and not Settings.USE_TYPED_ARRAYS == 2:
print self.skip('case "%s" only relevant for ta2' % shortname)