Chromium Code Reviews| Index: crosstest/test_stacksave.h |
| diff --git a/crosstest/test_stacksave.h b/crosstest/test_stacksave.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..699cc1998d1f384b4d3a7d2f8cf1959baf81a10b |
| --- /dev/null |
| +++ b/crosstest/test_stacksave.h |
| @@ -0,0 +1,26 @@ |
| +//===- subzero/crosstest/test_stacksave.h - Test prototypes ---*- C++ -*-00===// |
|
Jim Stichnoth
2014/07/17 16:47:26
00?
|
| +// |
| +// The Subzero Code Generator |
| +// |
| +// This file is distributed under the University of Illinois Open Source |
| +// License. See LICENSE.TXT for details. |
| +// |
| +//===----------------------------------------------------------------------===// |
| +// |
| +// This file declares the function prototypes for cross testing |
| +// stacksave and stackrestore intrinsics. |
| +// |
| +//===----------------------------------------------------------------------===// |
| + |
| +#ifndef TEST_STACKSAVE_H |
| +#define TEST_STACKSAVE_H |
| + |
| +#define DECLARE_TESTS(PREFIX) \ |
| + uint32_t PREFIX##test_basic_vla(uint32_t size, uint32_t start, \ |
| + uint32_t inc); \ |
| + uint32_t PREFIX##test_vla_in_loop(uint32_t size, uint32_t start, \ |
| + uint32_t inc); \ |
| + uint32_t PREFIX##test_two_vlas_in_loops(uint32_t size, uint32_t start, \ |
| + uint32_t inc); |
| + |
| +#endif |