]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Revert "[PR target/116662][RISC-V] Adjust destructive interference size for RISC-V"
authorJeff Law <jlaw@ventanamicro.com>
Wed, 29 Oct 2025 23:32:03 +0000 (17:32 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Wed, 29 Oct 2025 23:32:03 +0000 (17:32 -0600)
This reverts commit 36a3b24ff87c13885430251cb60b26de86ba741c.

gcc/config/riscv/riscv.cc

index 8880b199d41547f4d06baac335e917e8314315eb..63404d3d514351516ecf2eb02bb26c5693cdeb94 100644 (file)
@@ -12040,14 +12040,6 @@ riscv_option_override (void)
                       param_cycle_accurate_model,
                       0);
 
-  /* Cache lines of 64 bytes are common these days, so let's get a sensible
-     value for the interference size.  Technically this can leak and cause
-     sizes of structures to change, but consensus is anything using the
-     value to size fields within a structure is broken.  Any 2^n byte value
-     is functionally correct, but may not be performant.  */
-  SET_OPTION_IF_UNSET (&global_options, &global_options_set,
-                      param_destruct_interfere_size, 0);
-
   /* Function to allocate machine-dependent function status.  */
   init_machine_status = &riscv_init_machine_status;