mkexpr(tab_addr)));
assign(op1, load(Ity_I8, mkexpr(result)));
- if (! s390_host_has_etf2 || (m3 & 0x1) == 0) {
+ if ((m3 & 0x1) == 0) {
s390_cc_set_val(1);
next_insn_if(binop(Iop_CmpEQ8, mkexpr(op1), mkexpr(test_byte)));
}
assign(op1, load(Ity_I8, mkexpr(result)));
- if (! s390_host_has_etf2 || (m3 & 0x1) == 0) {
+ if ((m3 & 0x1) == 0) {
s390_cc_set_val(1);
next_insn_if(binop(Iop_CmpEQ8, mkexpr(op1), mkexpr(test_byte)));
}
mkexpr(tab_addr)));
assign(op1, load(Ity_I16, mkexpr(result)));
- if (! s390_host_has_etf2 || (m3 & 0x1) == 0) {
+ if ((m3 & 0x1) == 0) {
s390_cc_set_val(1);
next_insn_if(binop(Iop_CmpEQ16, mkexpr(op1), mkexpr(test_byte)));
}
mkexpr(tab_addr)));
assign(op1, load(Ity_I16, mkexpr(result)));
- if (! s390_host_has_etf2 || (m3 & 0x1) == 0) {
+ if ((m3 & 0x1) == 0) {
s390_cc_set_val(1);
next_insn_if(binop(Iop_CmpEQ16, mkexpr(op1), mkexpr(test_byte)));
}
/* Before we can test whether the 1st operand is exhausted we need to
test for an invalid low surrogate. Because cc=2 outranks cc=1. */
- if (s390_host_has_etf3 && (m3 & 0x1) == 1) {
+ if ((m3 & 0x1) == 1) {
IRExpr *invalid_low_surrogate =
binop(Iop_And64, mkexpr(retval), mkU64(0xff));
/* Before we can test whether the 1st operand is exhausted we need to
test for an invalid low surrogate. Because cc=2 outranks cc=1. */
- if (s390_host_has_etf3 && (m3 & 0x1) == 1) {
+ if ((m3 & 0x1) == 1) {
IRExpr *invalid_low_surrogate =
binop(Iop_And64, mkexpr(retval), mkU64(0xff));
assign(len1, get_gpr_dw0(r1 + 1));
assign(len2, get_gpr_dw0(r2 + 1));
- UInt extended_checking = s390_host_has_etf3 && (m3 & 0x1) == 1;
+ UInt extended_checking = (m3 & 0x1) == 1;
/* We're processing the 2nd operand 1 byte at a time. Therefore, if
there is less than 1 byte left, then the 2nd operand is exhausted
(s390_host_hwcaps & (VEX_HWCAPS_S390X_GIE))
#define s390_host_has_fgx \
(s390_host_hwcaps & (VEX_HWCAPS_S390X_FGX))
-#define s390_host_has_etf2 \
- (s390_host_hwcaps & (VEX_HWCAPS_S390X_ETF2))
-#define s390_host_has_etf3 \
- (s390_host_hwcaps & (VEX_HWCAPS_S390X_ETF3))
#define s390_host_has_lsc \
(s390_host_hwcaps & (VEX_HWCAPS_S390X_LSC))
#define s390_host_has_pfpo \
{ VEX_HWCAPS_S390X_EIMM, "eimm" },
{ VEX_HWCAPS_S390X_GIE, "gie" },
{ VEX_HWCAPS_S390X_FGX, "fgx" },
- { VEX_HWCAPS_S390X_ETF2, "etf2" },
- { VEX_HWCAPS_S390X_ETF3, "etf3" },
{ VEX_HWCAPS_S390X_LSC, "lsc" },
{ VEX_HWCAPS_S390X_PFPO, "pfpo" },
{ VEX_HWCAPS_S390X_VX, "vx" },
#define VEX_HWCAPS_S390X_EIMM (1<<7) /* Extended-immediate facility */
#define VEX_HWCAPS_S390X_GIE (1<<8) /* General-instruction-extension facility */
#define VEX_HWCAPS_S390X_FGX (1<<10) /* FPR-GR transfer facility */
-#define VEX_HWCAPS_S390X_ETF2 (1<<11) /* ETF2-enhancement facility */
-#define VEX_HWCAPS_S390X_ETF3 (1<<13) /* ETF3-enhancement facility */
#define VEX_HWCAPS_S390X_LSC (1<<16) /* Conditional load/store facility */
#define VEX_HWCAPS_S390X_PFPO (1<<17) /* Perform floating point ops facility */
#define VEX_HWCAPS_S390X_VX (1<<18) /* Vector facility */
VEX_HWCAPS_S390X_GIE | \
VEX_HWCAPS_S390X_FGX | \
VEX_HWCAPS_S390X_LSC | \
- VEX_HWCAPS_S390X_ETF3 | \
- VEX_HWCAPS_S390X_ETF2 | \
VEX_HWCAPS_S390X_PFPO | \
VEX_HWCAPS_S390X_VX | \
VEX_HWCAPS_S390X_MSA5 | \
{ False, 21, VEX_HWCAPS_S390X_EIMM, "EIMM" },
{ False, 34, VEX_HWCAPS_S390X_GIE, "GIE" },
{ False, 41, VEX_HWCAPS_S390X_FGX, "FGX" },
- { False, 24, VEX_HWCAPS_S390X_ETF2, "ETF2" },
- { False, 30, VEX_HWCAPS_S390X_ETF3, "ETF3" },
{ False, 45, VEX_HWCAPS_S390X_LSC, "LSC" },
{ False, 44, VEX_HWCAPS_S390X_PFPO, "PFPO" },
{ False, 129, VEX_HWCAPS_S390X_VX, "VX" },
-prereq: ../../../tests/s390x_features s390x-etf3
prog: cu12_1
-prereq: ../../../tests/s390x_features s390x-etf3
prog: cu14_1
-prereq: ../../../tests/s390x_features s390x-etf3
prog: cu21_1
-prereq: ../../../tests/s390x_features s390x-etf3
prog: cu24_1
match = facilities[0] & FAC_BIT(34);
} else if (strcmp(feature, "s390x-exrl") == 0 ) {
match = facilities[0] & FAC_BIT(35);
- } else if (strcmp(feature, "s390x-etf3") == 0 ) {
- match = facilities[0] & FAC_BIT(30);
} else if (strcmp(feature, "s390x-pfpo") == 0 ) {
match = facilities[0] & FAC_BIT(44);
} else if (strcmp(feature, "s390x-highw") == 0 ) {