zig/test/behavior
Alex Rønne Petersen e5c75479c2
std.Target: Rework isPPC()/isPPC64() functions.
* Rename isPPC() -> isPowerPC32().
* Rename isPPC64() -> isPowerPC64().
* Add new isPowerPC() function which covers both.

There was confusion even in the standard library about what isPPC() meant. This
change makes these functions work how I think most people actually expect them
to work, and makes them consistent with isMIPS(), isSPARC(), etc.

I chose to rename from PPC to PowerPC because 1) it's more consistent with the
other functions, and 2) it'll cause loud rather than silent breakage for anyone
who might have been depending on isPPC() while misunderstanding it.
2024-08-01 20:58:05 +02:00
..
conflicting_externs categorize behavior/bugs/<issueno>.zig tests 2024-01-06 16:49:41 -08:00
hasdecl move behavior tests from test/stage1/ to test/ 2021-04-29 15:54:04 -07:00
import move behavior tests from test/stage1/ to test/ 2021-04-29 15:54:04 -07:00
namespace_depends_on_compile_var move behavior tests from test/stage1/ to test/ 2021-04-29 15:54:04 -07:00
pub_enum move behavior tests from test/stage1/ to test/ 2021-04-29 15:54:04 -07:00
usingnamespace riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
abs.zig riscv: update tests 2024-07-26 04:05:43 -07:00
align.zig std.Target: Remove sparcel architecture tag. 2024-07-30 06:30:25 +02:00
alignof.zig riscv: arbitrary sized arrays 2024-06-13 02:19:40 -07:00
array.zig riscv: update tests and fix reuse bug 2024-07-26 04:19:58 -07:00
asm.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
async_fn.zig test/behavior: replace all 'comptime expect' with 'comptime assert' 2024-01-15 20:55:01 +11:00
atomics.zig std.Target.Cpu.Arch: Remove the aarch64_32 tag. 2024-07-28 19:44:52 -07:00
await_struct.zig test: update behavior to silence 'var is never mutated' errors 2023-11-19 09:57:03 +00:00
basic.zig riscv: update tests and fix reuse bug 2024-07-26 04:19:58 -07:00
bit_shifting.zig riscv: fix logic bug in ptr_elem_ptr 2024-07-26 04:05:41 -07:00
bitcast.zig riscv: enable passing tests 2024-07-26 04:19:17 -07:00
bitreverse.zig stage2-wasm: bit_reverse 2024-06-16 11:53:33 +02:00
bool.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
builtin_functions_returning_void_or_noreturn.zig riscv: implement @fence 2024-07-14 23:02:33 -07:00
byteswap.zig riscv: clean up and unify encoding logic 2024-07-26 04:19:13 -07:00
byval_arg_var.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
call.zig riscv: update tests 2024-07-26 04:05:43 -07:00
call_tail.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
cast.zig riscv: update tests and fix reuse bug 2024-07-26 04:19:58 -07:00
cast_int.zig riscv: enable passing tests 2024-07-26 04:19:17 -07:00
comptime_memory.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
const_slice_child.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
decltest.zig riscv: math progress 2024-05-11 02:17:24 -07:00
defer.zig riscv: implement non-pow2 indirect loads 2024-07-31 16:57:30 -07:00
destructure.zig riscv: implement more operators 2024-07-26 04:05:39 -07:00
duplicated_test_names.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
empty_file_level_struct.zig fix overflow found while fuzzing 2022-12-23 23:10:04 +02:00
empty_file_level_union.zig fix overflow found while fuzzing 2022-12-23 23:10:04 +02:00
empty_tuple_fields.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
empty_union.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
enum.zig riscv: update tests and fix reuse bug 2024-07-26 04:19:58 -07:00
error.zig riscv: update tests and fix reuse bug 2024-07-26 04:19:58 -07:00
eval.zig riscv: enable passing tests 2024-07-26 04:19:17 -07:00
export_builtin.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
export_c_keywords.zig cbe: fix non-msvc externs and exports 2024-01-03 02:52:25 -05:00
export_keyword.zig riscv: math progress 2024-05-11 02:17:24 -07:00
export_self_referential_type_info.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
extern.zig ip: use getExternFunc in getCoerced 2024-07-21 01:00:49 -07:00
extern_struct_zero_size_fields.zig test: update behavior to silence 'var is never mutated' errors 2023-11-19 09:57:03 +00:00
field_parent_ptr.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
file_to_embed.txt rename behavior test to better describe what it does 2023-10-23 17:28:10 -07:00
floatop.zig riscv: remove redundant assert in genBinOp 2024-07-26 04:05:41 -07:00
fn.zig riscv: update tests and fix reuse bug 2024-07-26 04:19:58 -07:00
fn_delegation.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
fn_in_struct_in_comptime.zig test: update behavior to silence 'var is never mutated' errors 2023-11-19 09:57:03 +00:00
for.zig riscv: update tests and fix reuse bug 2024-07-26 04:19:58 -07:00
generics.zig riscv: enable passing tests 2024-07-26 04:19:17 -07:00
globals.zig riscv: remove redundant assert in genBinOp 2024-07-26 04:05:41 -07:00
hasdecl.zig spirv: disable tests that fail on pocl 2024-06-10 20:32:34 +02:00
hasfield.zig Sema: make @hasField support tuples too 2022-03-11 12:59:20 -07:00
if.zig riscv: make multi-threaded enabled compilation the default 2024-07-26 14:53:55 -07:00
import.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
import_c_keywords.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
incomplete_struct_param_tld.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
inline_switch.zig riscv: truncate airStructFieldVal result 2024-07-14 23:02:33 -07:00
int128.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
int_comparison_elision.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
ir_block_deps.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
lower_strlit_to_vector.zig riscv: add airAggregateInit for arrays 2024-06-13 02:22:04 -07:00
math.zig riscv: enable passing tests 2024-07-26 04:19:17 -07:00
maximum_minimum.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
member_func.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
memcpy.zig riscv: airAsm rewrite 2024-07-26 04:19:55 -07:00
memset.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
merge_error_sets.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
muladd.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
multiple_externs_with_conflicting_types.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
namespace_depends_on_compile_var.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
nan.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
null.zig riscv: make multi-threaded enabled compilation the default 2024-07-26 14:53:55 -07:00
optional.zig riscv: update tests and fix reuse bug 2024-07-26 04:19:58 -07:00
packed-struct.zig riscv: enable passing tests 2024-07-26 04:19:17 -07:00
packed-union.zig riscv: enable passing tests 2024-07-26 04:19:17 -07:00
packed_struct_explicit_backing_int.zig riscv: finally fix bug + airAggregateInit 2024-05-11 02:17:24 -07:00
pointers.zig riscv: update tests and fix reuse bug 2024-07-26 04:19:58 -07:00
popcount.zig riscv: update tests and fix reuse bug 2024-07-26 04:19:58 -07:00
prefetch.zig riscv: add airAggregateInit for arrays 2024-06-13 02:22:04 -07:00
ptrcast.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
ptrfromint.zig riscv: implement optional logic 2024-06-13 02:22:33 -07:00
pub_enum.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
ref_var_in_if_after_if_2nd_switch_prong.zig riscv: switch progress + by-ref return progress 2024-06-13 02:19:38 -07:00
reflection.zig riscv: truncate airStructFieldVal result 2024-07-14 23:02:33 -07:00
return_address.zig riscv: arbitrary sized arrays 2024-06-13 02:19:40 -07:00
saturating_arithmetic.zig stage2-wasm: mul_sat 32 bits <=, i64, i128 2024-07-23 17:06:18 +02:00
select.zig spirv: new vectorization helper 2024-06-10 20:32:49 +02:00
shuffle.zig spirv: improve shuffle codegen 2024-06-10 20:32:50 +02:00
sizeof_and_typeof.zig riscv: vectors part 3 2024-07-14 23:02:35 -07:00
slice.zig riscv: update tests and fix reuse bug 2024-07-26 04:19:58 -07:00
slice_sentinel_comptime.zig spirv: update tests 2024-02-04 19:09:33 +01:00
src.zig riscv: enable passing tests 2024-07-26 04:19:17 -07:00
string_literals.zig riscv: enable passing tests 2024-07-26 04:19:17 -07:00
struct.zig riscv: update tests and fix reuse bug 2024-07-26 04:19:58 -07:00
struct_contains_null_ptr_itself.zig riscv: implement optional logic 2024-06-13 02:22:33 -07:00
struct_contains_slice_of_itself.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
switch.zig riscv: update tests and fix reuse bug 2024-07-26 04:19:58 -07:00
switch_on_captured_error.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
switch_prong_err_enum.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
switch_prong_implicit_cast.zig riscv: update tests and fix reuse bug 2024-07-26 04:19:58 -07:00
this.zig riscv: truncate airStructFieldVal result 2024-07-14 23:02:33 -07:00
threadlocal.zig riscv: airAsm rewrite 2024-07-26 04:19:55 -07:00
truncate.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
try.zig riscv: clean up and unify encoding logic 2024-07-26 04:19:13 -07:00
tuple.zig riscv: update tests and fix reuse bug 2024-07-26 04:19:58 -07:00
tuple_declarations.zig riscv: update tests and fix reuse bug 2024-07-26 04:19:58 -07:00
type.zig riscv: truncate airStructFieldVal result 2024-07-14 23:02:33 -07:00
type_info.zig riscv: update tests and fix reuse bug 2024-07-26 04:19:58 -07:00
type_info_mul_linksection_addrspace_decls.zig Zir: add missing extra index for linksection_or_addspace 2023-11-25 11:39:37 +00:00
typename.zig riscv: update tests and fix reuse bug 2024-07-26 04:19:58 -07:00
undefined.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
underscore.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
union.zig std.Target: Rework isPPC()/isPPC64() functions. 2024-08-01 20:58:05 +02:00
union_with_members.zig riscv: update tests and fix reuse bug 2024-07-26 04:19:58 -07:00
usingnamespace.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
var_args.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
vector.zig std.Target.Cpu.Arch: Remove the aarch64_32 tag. 2024-07-28 19:44:52 -07:00
void.zig riscv: implement optional logic 2024-06-13 02:22:33 -07:00
wasm.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
while.zig riscv: update tests and fix reuse bug 2024-07-26 04:19:58 -07:00
widening.zig riscv: rewrite "binOp" 2024-06-13 02:24:39 -07:00
wrapping_arithmetic.zig riscv: add stage2_riscv to test matrix and bypass failing tests 2024-05-11 02:17:24 -07:00
zero.bin Module: fix @embedFile of files containing zero bytes 2024-02-22 12:33:53 -08:00