mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Improve dead code elimination
This commit is contained in:
parent
760db8c5ad
commit
0e36cb3ac4
6606 changed files with 9685 additions and 9854 deletions
|
@ -16,7 +16,6 @@
|
|||
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
|
||||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/bits/progn.internal.h"
|
||||
#include "libc/intrin/mpsadbw.h"
|
||||
#include "libc/intrin/pabsb.h"
|
||||
#include "libc/intrin/pabsd.h"
|
||||
|
@ -2082,19 +2081,3 @@ TEST(pext, fuzz) {
|
|||
ASSERT_EQ(pext(x, y), (pext)(x, y));
|
||||
}
|
||||
}
|
||||
|
||||
BENCH(psrldq, bench) {
|
||||
volatile uint8_t A[16];
|
||||
volatile uint8_t B[16];
|
||||
EZBENCH2("psrldq const 𝑖", donothing, PROGN(psrldq(A, B, 7)));
|
||||
EZBENCH2("psrldq var 𝑖", donothing, PROGN(psrldq(A, B, VEIL("r", 7))));
|
||||
EZBENCH2("psrldq ansi", donothing, PROGN((psrldq)(A, B, 7)));
|
||||
}
|
||||
|
||||
BENCH(pslldq, bench) {
|
||||
volatile uint8_t A[16];
|
||||
volatile uint8_t B[16];
|
||||
EZBENCH2("pslldq const 𝑖", donothing, PROGN(pslldq(A, B, 7)));
|
||||
EZBENCH2("pslldq var 𝑖", donothing, PROGN(pslldq(A, B, VEIL("r", 7))));
|
||||
EZBENCH2("pslldq ansi", donothing, PROGN((pslldq)(A, B, 7)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue