"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "stress-branch.c" between
stress-ng-0.13.04.tar.xz and stress-ng-0.13.05.tar.xz

About: stress-ng will stress test a computer system in various selectable ways. It was designed to exercise various physical subsystems of a computer as well as the various operating system kernel interfaces.

stress-branch.c  (stress-ng-0.13.04.tar.xz):stress-branch.c  (stress-ng-0.13.05.tar.xz)
skipping to change at line 41 skipping to change at line 41
}; };
#if defined(HAVE_LABEL_AS_VALUE) #if defined(HAVE_LABEL_AS_VALUE)
/* /*
* jmp_stress_mwc8() * jmp_stress_mwc8()
* special non-overly optimized stress_mwc8 that gets inlined * special non-overly optimized stress_mwc8 that gets inlined
* to remove a jmp and hence boost branch miss rates. * to remove a jmp and hence boost branch miss rates.
* Do not optimize this any further as this will lower * Do not optimize this any further as this will lower
* the branch miss rate. * the branch miss rate.
*/ */
static inline uint8_t jmp_stress_mwc8(void) static inline uint16_t OPTIMIZE3 jmp_stress_mwc8(void)
{ {
static uint32_t w = STRESS_MWC_SEED_W; static uint32_t w = STRESS_MWC_SEED_W;
static uint32_t z = STRESS_MWC_SEED_Z; static uint32_t z = STRESS_MWC_SEED_Z;
z = 36969 * (z & 65535) + (z >> 16); z = 36969 * (z & 65535) + (z >> 16);
w = 18000 * (w & 65535) + (w >> 16); w = 18000 * (w & 65535) + (w >> 16);
return (w >> 3) & 0xff; return (w >> 3) & 0x1ff;
} }
/* /*
* The following jumps to a random label. If do_more is false * The following jumps to a random label. If do_more is false
* then we jump to label ret and abort. This has been carefully * then we jump to label ret and abort. This has been carefully
* hand crafted to make each JMP() macro expand to code with * hand crafted to make each JMP() macro expand to code with
* just one jmp statement * just one jmp statement
*/ */
#define JMP(a) label ## a: \ #undef J
{ \ #define J(a) \
register bool do_more; \ a: idx = jmp_stress_mwc8(); \
register uint16_t idx = jmp_stress_mwc8(); \ flag = keep_stressing_flag(); \
register bool flag = keep_stressing_flag(); \
\ \
inc_counter(args); \ inc_counter(args); \
do_more = LIKELY(flag) & \ do_more = LIKELY(flag) & \
(((int)!args->max_ops) | \ (((int)!args->max_ops) | \
(get_counter(args) < args->max_ops)); \ (get_counter(args) < args->max_ops)); \
idx |= (do_more << 8); \ idx |= (do_more << 9); \
goto *labels[idx]; \ goto *labels[idx]; \
}
/* /*
* stress_branch() * stress_branch()
* stress instruction branch prediction * stress instruction branch prediction
*/ */
static int stress_branch(const stress_args_t *args) static int OPTIMIZE3 stress_branch(const stress_args_t *args)
{ {
static const void ALIGN64 *labels[] = { static const void ALIGN64 *labels[] = {
&&ret, &&ret, &&ret, &&ret, /* cppcheck-suppress syntaxError &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
*/ &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&label0x00, &&label0x01, &&label0x02, &&label0x03, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&label0x04, &&label0x05, &&label0x06, &&label0x07, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret, &&ret,
&&label0x08, &&label0x09, &&label0x0a, &&label0x0b,
&&label0x0c, &&label0x0d, &&label0x0e, &&label0x0f, &&L000, &&L001, &&L002, &&L003, &&L004, &&L005, &&L006, &&L007,
&&label0x10, &&label0x11, &&label0x12, &&label0x13, &&L008, &&L009, &&L00a, &&L00b, &&L00c, &&L00d, &&L00e, &&L00f,
&&label0x14, &&label0x15, &&label0x16, &&label0x17, &&L010, &&L011, &&L012, &&L013, &&L014, &&L015, &&L016, &&L017,
&&label0x18, &&label0x19, &&label0x1a, &&label0x1b, &&L018, &&L019, &&L01a, &&L01b, &&L01c, &&L01d, &&L01e, &&L01f,
&&label0x1c, &&label0x1d, &&label0x1e, &&label0x1f, &&L020, &&L021, &&L022, &&L023, &&L024, &&L025, &&L026, &&L027,
&&label0x20, &&label0x21, &&label0x22, &&label0x23, &&L028, &&L029, &&L02a, &&L02b, &&L02c, &&L02d, &&L02e, &&L02f,
&&label0x24, &&label0x25, &&label0x26, &&label0x27, &&L030, &&L031, &&L032, &&L033, &&L034, &&L035, &&L036, &&L037,
&&label0x28, &&label0x29, &&label0x2a, &&label0x2b, &&L038, &&L039, &&L03a, &&L03b, &&L03c, &&L03d, &&L03e, &&L03f,
&&label0x2c, &&label0x2d, &&label0x2e, &&label0x2f,
&&label0x30, &&label0x31, &&label0x32, &&label0x33, &&L040, &&L041, &&L042, &&L043, &&L044, &&L045, &&L046, &&L047,
&&label0x34, &&label0x35, &&label0x36, &&label0x37, &&L048, &&L049, &&L04a, &&L04b, &&L04c, &&L04d, &&L04e, &&L04f,
&&label0x38, &&label0x39, &&label0x3a, &&label0x3b, &&L050, &&L051, &&L052, &&L053, &&L054, &&L055, &&L056, &&L057,
&&label0x3c, &&label0x3d, &&label0x3e, &&label0x3f, &&L058, &&L059, &&L05a, &&L05b, &&L05c, &&L05d, &&L05e, &&L05f,
&&L060, &&L061, &&L062, &&L063, &&L064, &&L065, &&L066, &&L067,
&&label0x40, &&label0x41, &&label0x42, &&label0x43, &&L068, &&L069, &&L06a, &&L06b, &&L06c, &&L06d, &&L06e, &&L06f,
&&label0x44, &&label0x45, &&label0x46, &&label0x47, &&L070, &&L071, &&L072, &&L073, &&L074, &&L075, &&L076, &&L077,
&&label0x48, &&label0x49, &&label0x4a, &&label0x4b, &&L078, &&L079, &&L07a, &&L07b, &&L07c, &&L07d, &&L07e, &&L07f,
&&label0x4c, &&label0x4d, &&label0x4e, &&label0x4f,
&&label0x50, &&label0x51, &&label0x52, &&label0x53, &&L080, &&L081, &&L082, &&L083, &&L084, &&L085, &&L086, &&L087,
&&label0x54, &&label0x55, &&label0x56, &&label0x57, &&L088, &&L089, &&L08a, &&L08b, &&L08c, &&L08d, &&L08e, &&L08f,
&&label0x58, &&label0x59, &&label0x5a, &&label0x5b, &&L090, &&L091, &&L092, &&L093, &&L094, &&L095, &&L096, &&L097,
&&label0x5c, &&label0x5d, &&label0x5e, &&label0x5f, &&L098, &&L099, &&L09a, &&L09b, &&L09c, &&L09d, &&L09e, &&L09f,
&&label0x60, &&label0x61, &&label0x62, &&label0x63, &&L0a0, &&L0a1, &&L0a2, &&L0a3, &&L0a4, &&L0a5, &&L0a6, &&L0a7,
&&label0x64, &&label0x65, &&label0x66, &&label0x67, &&L0a8, &&L0a9, &&L0aa, &&L0ab, &&L0ac, &&L0ad, &&L0ae, &&L0af,
&&label0x68, &&label0x69, &&label0x6a, &&label0x6b, &&L0b0, &&L0b1, &&L0b2, &&L0b3, &&L0b4, &&L0b5, &&L0b6, &&L0b7,
&&label0x6c, &&label0x6d, &&label0x6e, &&label0x6f, &&L0b8, &&L0b9, &&L0ba, &&L0bb, &&L0bc, &&L0bd, &&L0be, &&L0bf,
&&label0x70, &&label0x71, &&label0x72, &&label0x73,
&&label0x74, &&label0x75, &&label0x76, &&label0x77, &&L0c0, &&L0c1, &&L0c2, &&L0c3, &&L0c4, &&L0c5, &&L0c6, &&L0c7,
&&label0x78, &&label0x79, &&label0x7a, &&label0x7b, &&L0c8, &&L0c9, &&L0ca, &&L0cb, &&L0cc, &&L0cd, &&L0ce, &&L0cf,
&&label0x7c, &&label0x7d, &&label0x7e, &&label0x7f, &&L0d0, &&L0d1, &&L0d2, &&L0d3, &&L0d4, &&L0d5, &&L0d6, &&L0d7,
&&L0d8, &&L0d9, &&L0da, &&L0db, &&L0dc, &&L0dd, &&L0de, &&L0df,
&&label0x80, &&label0x81, &&label0x82, &&label0x83, &&L0e0, &&L0e1, &&L0e2, &&L0e3, &&L0e4, &&L0e5, &&L0e6, &&L0e7,
&&label0x84, &&label0x85, &&label0x86, &&label0x87, &&L0e8, &&L0e9, &&L0ea, &&L0eb, &&L0ec, &&L0ed, &&L0ee, &&L0ef,
&&label0x88, &&label0x89, &&label0x8a, &&label0x8b, &&L0f0, &&L0f1, &&L0f2, &&L0f3, &&L0f4, &&L0f5, &&L0f6, &&L0f7,
&&label0x8c, &&label0x8d, &&label0x8e, &&label0x8f, &&L0f8, &&L0f9, &&L0fa, &&L0fb, &&L0fc, &&L0fd, &&L0fe, &&L0ff,
&&label0x90, &&label0x91, &&label0x92, &&label0x93,
&&label0x94, &&label0x95, &&label0x96, &&label0x97, &&L100, &&L101, &&L102, &&L103, &&L104, &&L105, &&L106, &&L107,
&&label0x98, &&label0x99, &&label0x9a, &&label0x9b, &&L108, &&L109, &&L10a, &&L10b, &&L10c, &&L10d, &&L10e, &&L10f,
&&label0x9c, &&label0x9d, &&label0x9e, &&label0x9f, &&L110, &&L111, &&L112, &&L113, &&L114, &&L115, &&L116, &&L117,
&&label0xa0, &&label0xa1, &&label0xa2, &&label0xa3, &&L118, &&L119, &&L11a, &&L11b, &&L11c, &&L11d, &&L11e, &&L11f,
&&label0xa4, &&label0xa5, &&label0xa6, &&label0xa7, &&L120, &&L121, &&L122, &&L123, &&L124, &&L125, &&L126, &&L127,
&&label0xa8, &&label0xa9, &&label0xaa, &&label0xab, &&L128, &&L129, &&L12a, &&L12b, &&L12c, &&L12d, &&L12e, &&L12f,
&&label0xac, &&label0xad, &&label0xae, &&label0xaf, &&L130, &&L131, &&L132, &&L133, &&L134, &&L135, &&L136, &&L137,
&&label0xb0, &&label0xb1, &&label0xb2, &&label0xb3, &&L138, &&L139, &&L13a, &&L13b, &&L13c, &&L13d, &&L13e, &&L13f,
&&label0xb4, &&label0xb5, &&label0xb6, &&label0xb7,
&&label0xb8, &&label0xb9, &&label0xba, &&label0xbb, &&L140, &&L141, &&L142, &&L143, &&L144, &&L145, &&L146, &&L147,
&&label0xbc, &&label0xbd, &&label0xbe, &&label0xbf, &&L148, &&L149, &&L14a, &&L14b, &&L14c, &&L14d, &&L14e, &&L14f,
&&L150, &&L151, &&L152, &&L153, &&L154, &&L155, &&L156, &&L157,
&&label0xc0, &&label0xc1, &&label0xc2, &&label0xc3, &&L158, &&L159, &&L15a, &&L15b, &&L15c, &&L15d, &&L15e, &&L15f,
&&label0xc4, &&label0xc5, &&label0xc6, &&label0xc7, &&L160, &&L161, &&L162, &&L163, &&L164, &&L165, &&L166, &&L167,
&&label0xc8, &&label0xc9, &&label0xca, &&label0xcb, &&L168, &&L169, &&L16a, &&L16b, &&L16c, &&L16d, &&L16e, &&L16f,
&&label0xcc, &&label0xcd, &&label0xce, &&label0xcf, &&L170, &&L171, &&L172, &&L173, &&L174, &&L175, &&L176, &&L177,
&&label0xd0, &&label0xd1, &&label0xd2, &&label0xd3, &&L178, &&L179, &&L17a, &&L17b, &&L17c, &&L17d, &&L17e, &&L17f,
&&label0xd4, &&label0xd5, &&label0xd6, &&label0xd7,
&&label0xd8, &&label0xd9, &&label0xda, &&label0xdb, &&L180, &&L181, &&L182, &&L183, &&L184, &&L185, &&L186, &&L187,
&&label0xdc, &&label0xdd, &&label0xde, &&label0xdf, &&L188, &&L189, &&L18a, &&L18b, &&L18c, &&L18d, &&L18e, &&L18f,
&&label0xe0, &&label0xe1, &&label0xe2, &&label0xe3, &&L190, &&L191, &&L192, &&L193, &&L194, &&L195, &&L196, &&L197,
&&label0xe4, &&label0xe5, &&label0xe6, &&label0xe7, &&L198, &&L199, &&L19a, &&L19b, &&L19c, &&L19d, &&L19e, &&L19f,
&&label0xe8, &&label0xe9, &&label0xea, &&label0xeb, &&L1a0, &&L1a1, &&L1a2, &&L1a3, &&L1a4, &&L1a5, &&L1a6, &&L1a7,
&&label0xec, &&label0xed, &&label0xee, &&label0xef, &&L1a8, &&L1a9, &&L1aa, &&L1ab, &&L1ac, &&L1ad, &&L1ae, &&L1af,
&&label0xf0, &&label0xf1, &&label0xf2, &&label0xf3, &&L1b0, &&L1b1, &&L1b2, &&L1b3, &&L1b4, &&L1b5, &&L1b6, &&L1b7,
&&label0xf4, &&label0xf5, &&label0xf6, &&label0xf7, &&L1b8, &&L1b9, &&L1ba, &&L1bb, &&L1bc, &&L1bd, &&L1be, &&L1bf,
&&label0xf8, &&label0xf9, &&label0xfa, &&label0xfb,
&&label0xfc, &&label0xfd, &&label0xfe, &&label0xff, &&L1c0, &&L1c1, &&L1c2, &&L1c3, &&L1c4, &&L1c5, &&L1c6, &&L1c7,
&&L1c8, &&L1c9, &&L1ca, &&L1cb, &&L1cc, &&L1cd, &&L1ce, &&L1cf,
&&L1d0, &&L1d1, &&L1d2, &&L1d3, &&L1d4, &&L1d5, &&L1d6, &&L1d7,
&&L1d8, &&L1d9, &&L1da, &&L1db, &&L1dc, &&L1dd, &&L1de, &&L1df,
&&L1e0, &&L1e1, &&L1e2, &&L1e3, &&L1e4, &&L1e5, &&L1e6, &&L1e7,
&&L1e8, &&L1e9, &&L1ea, &&L1eb, &&L1ec, &&L1ed, &&L1ee, &&L1ef,
&&L1f0, &&L1f1, &&L1f2, &&L1f3, &&L1f4, &&L1f5, &&L1f6, &&L1f7,
&&L1f8, &&L1f9, &&L1fa, &&L1fb, &&L1fc, &&L1fd, &&L1fe, &&L1ff,
}; };
stress_set_proc_state(args->name, STRESS_STATE_RUN); stress_set_proc_state(args->name, STRESS_STATE_RUN);
for (;;) { for (;;) {
JMP(0x00) JMP(0x01) JMP(0x02) JMP(0x03) register bool do_more;
JMP(0x04) JMP(0x05) JMP(0x06) JMP(0x07) register uint16_t idx;
JMP(0x08) JMP(0x09) JMP(0x0a) JMP(0x0b) register bool flag;
JMP(0x0c) JMP(0x0d) JMP(0x0e) JMP(0x0f)
JMP(0x10) JMP(0x11) JMP(0x12) JMP(0x13) J(L000) J(L001) J(L002) J(L003) J(L004) J(L005) J(L006) J(L007)
JMP(0x14) JMP(0x15) JMP(0x16) JMP(0x17) J(L008) J(L009) J(L00a) J(L00b) J(L00c) J(L00d) J(L00e) J(L00f)
JMP(0x18) JMP(0x19) JMP(0x1a) JMP(0x1b) J(L010) J(L011) J(L012) J(L013) J(L014) J(L015) J(L016) J(L017)
JMP(0x1c) JMP(0x1d) JMP(0x1e) JMP(0x1f) J(L018) J(L019) J(L01a) J(L01b) J(L01c) J(L01d) J(L01e) J(L01f)
JMP(0x20) JMP(0x21) JMP(0x22) JMP(0x23) J(L020) J(L021) J(L022) J(L023) J(L024) J(L025) J(L026) J(L027)
JMP(0x24) JMP(0x25) JMP(0x26) JMP(0x27) J(L028) J(L029) J(L02a) J(L02b) J(L02c) J(L02d) J(L02e) J(L02f)
JMP(0x28) JMP(0x29) JMP(0x2a) JMP(0x2b) J(L030) J(L031) J(L032) J(L033) J(L034) J(L035) J(L036) J(L037)
JMP(0x2c) JMP(0x2d) JMP(0x2e) JMP(0x2f) J(L038) J(L039) J(L03a) J(L03b) J(L03c) J(L03d) J(L03e) J(L03f)
JMP(0x30) JMP(0x31) JMP(0x32) JMP(0x33)
JMP(0x34) JMP(0x35) JMP(0x36) JMP(0x37) J(L040) J(L041) J(L042) J(L043) J(L044) J(L045) J(L046) J(L047)
JMP(0x38) JMP(0x39) JMP(0x3a) JMP(0x3b) J(L048) J(L049) J(L04a) J(L04b) J(L04c) J(L04d) J(L04e) J(L04f)
JMP(0x3c) JMP(0x3d) JMP(0x3e) JMP(0x3f) J(L050) J(L051) J(L052) J(L053) J(L054) J(L055) J(L056) J(L057)
J(L058) J(L059) J(L05a) J(L05b) J(L05c) J(L05d) J(L05e) J(L05f)
JMP(0x40) JMP(0x41) JMP(0x42) JMP(0x43) J(L060) J(L061) J(L062) J(L063) J(L064) J(L065) J(L066) J(L067)
JMP(0x44) JMP(0x45) JMP(0x46) JMP(0x47) J(L068) J(L069) J(L06a) J(L06b) J(L06c) J(L06d) J(L06e) J(L06f)
JMP(0x48) JMP(0x49) JMP(0x4a) JMP(0x4b) J(L070) J(L071) J(L072) J(L073) J(L074) J(L075) J(L076) J(L077)
JMP(0x4c) JMP(0x4d) JMP(0x4e) JMP(0x4f) J(L078) J(L079) J(L07a) J(L07b) J(L07c) J(L07d) J(L07e) J(L07f)
JMP(0x50) JMP(0x51) JMP(0x52) JMP(0x53)
JMP(0x54) JMP(0x55) JMP(0x56) JMP(0x57) J(L080) J(L081) J(L082) J(L083) J(L084) J(L085) J(L086) J(L087)
JMP(0x58) JMP(0x59) JMP(0x5a) JMP(0x5b) J(L088) J(L089) J(L08a) J(L08b) J(L08c) J(L08d) J(L08e) J(L08f)
JMP(0x5c) JMP(0x5d) JMP(0x5e) JMP(0x5f) J(L090) J(L091) J(L092) J(L093) J(L094) J(L095) J(L096) J(L097)
JMP(0x60) JMP(0x61) JMP(0x62) JMP(0x63) J(L098) J(L099) J(L09a) J(L09b) J(L09c) J(L09d) J(L09e) J(L09f)
JMP(0x64) JMP(0x65) JMP(0x66) JMP(0x67) J(L0a0) J(L0a1) J(L0a2) J(L0a3) J(L0a4) J(L0a5) J(L0a6) J(L0a7)
JMP(0x68) JMP(0x69) JMP(0x6a) JMP(0x6b) J(L0a8) J(L0a9) J(L0aa) J(L0ab) J(L0ac) J(L0ad) J(L0ae) J(L0af)
JMP(0x6c) JMP(0x6d) JMP(0x6e) JMP(0x6f) J(L0b0) J(L0b1) J(L0b2) J(L0b3) J(L0b4) J(L0b5) J(L0b6) J(L0b7)
JMP(0x70) JMP(0x71) JMP(0x72) JMP(0x73) J(L0b8) J(L0b9) J(L0ba) J(L0bb) J(L0bc) J(L0bd) J(L0be) J(L0bf)
JMP(0x74) JMP(0x75) JMP(0x76) JMP(0x77)
JMP(0x78) JMP(0x79) JMP(0x7a) JMP(0x7b) J(L0c0) J(L0c1) J(L0c2) J(L0c3) J(L0c4) J(L0c5) J(L0c6) J(L0c7)
JMP(0x7c) JMP(0x7d) JMP(0x7e) JMP(0x7f) J(L0c8) J(L0c9) J(L0ca) J(L0cb) J(L0cc) J(L0cd) J(L0ce) J(L0cf)
J(L0d0) J(L0d1) J(L0d2) J(L0d3) J(L0d4) J(L0d5) J(L0d6) J(L0d7)
JMP(0x80) JMP(0x81) JMP(0x82) JMP(0x83) J(L0d8) J(L0d9) J(L0da) J(L0db) J(L0dc) J(L0dd) J(L0de) J(L0df)
JMP(0x84) JMP(0x85) JMP(0x86) JMP(0x87) J(L0e0) J(L0e1) J(L0e2) J(L0e3) J(L0e4) J(L0e5) J(L0e6) J(L0e7)
JMP(0x88) JMP(0x89) JMP(0x8a) JMP(0x8b) J(L0e8) J(L0e9) J(L0ea) J(L0eb) J(L0ec) J(L0ed) J(L0ee) J(L0ef)
JMP(0x8c) JMP(0x8d) JMP(0x8e) JMP(0x8f) J(L0f0) J(L0f1) J(L0f2) J(L0f3) J(L0f4) J(L0f5) J(L0f6) J(L0f7)
JMP(0x90) JMP(0x91) JMP(0x92) JMP(0x93) J(L0f8) J(L0f9) J(L0fa) J(L0fb) J(L0fc) J(L0fd) J(L0fe) J(L0ff)
JMP(0x94) JMP(0x95) JMP(0x96) JMP(0x97)
JMP(0x98) JMP(0x99) JMP(0x9a) JMP(0x9b) J(L100) J(L101) J(L102) J(L103) J(L104) J(L105) J(L106) J(L107)
JMP(0x9c) JMP(0x9d) JMP(0x9e) JMP(0x9f) J(L108) J(L109) J(L10a) J(L10b) J(L10c) J(L10d) J(L10e) J(L10f)
JMP(0xa0) JMP(0xa1) JMP(0xa2) JMP(0xa3) J(L110) J(L111) J(L112) J(L113) J(L114) J(L115) J(L116) J(L117)
JMP(0xa4) JMP(0xa5) JMP(0xa6) JMP(0xa7) J(L118) J(L119) J(L11a) J(L11b) J(L11c) J(L11d) J(L11e) J(L11f)
JMP(0xa8) JMP(0xa9) JMP(0xaa) JMP(0xab) J(L120) J(L121) J(L122) J(L123) J(L124) J(L125) J(L126) J(L127)
JMP(0xac) JMP(0xad) JMP(0xae) JMP(0xaf) J(L128) J(L129) J(L12a) J(L12b) J(L12c) J(L12d) J(L12e) J(L12f)
JMP(0xb0) JMP(0xb1) JMP(0xb2) JMP(0xb3) J(L130) J(L131) J(L132) J(L133) J(L134) J(L135) J(L136) J(L137)
JMP(0xb4) JMP(0xb5) JMP(0xb6) JMP(0xb7) J(L138) J(L139) J(L13a) J(L13b) J(L13c) J(L13d) J(L13e) J(L13f)
JMP(0xb8) JMP(0xb9) JMP(0xba) JMP(0xbb)
JMP(0xbc) JMP(0xbd) JMP(0xbe) JMP(0xbf) J(L140) J(L141) J(L142) J(L143) J(L144) J(L145) J(L146) J(L147)
J(L148) J(L149) J(L14a) J(L14b) J(L14c) J(L14d) J(L14e) J(L14f)
JMP(0xc0) JMP(0xc1) JMP(0xc2) JMP(0xc3) J(L150) J(L151) J(L152) J(L153) J(L154) J(L155) J(L156) J(L157)
JMP(0xc4) JMP(0xc5) JMP(0xc6) JMP(0xc7) J(L158) J(L159) J(L15a) J(L15b) J(L15c) J(L15d) J(L15e) J(L15f)
JMP(0xc8) JMP(0xc9) JMP(0xca) JMP(0xcb) J(L160) J(L161) J(L162) J(L163) J(L164) J(L165) J(L166) J(L167)
JMP(0xcc) JMP(0xcd) JMP(0xce) JMP(0xcf) J(L168) J(L169) J(L16a) J(L16b) J(L16c) J(L16d) J(L16e) J(L16f)
JMP(0xd0) JMP(0xd1) JMP(0xd2) JMP(0xd3) J(L170) J(L171) J(L172) J(L173) J(L174) J(L175) J(L176) J(L177)
JMP(0xd4) JMP(0xd5) JMP(0xd6) JMP(0xd7) J(L178) J(L179) J(L17a) J(L17b) J(L17c) J(L17d) J(L17e) J(L17f)
JMP(0xd8) JMP(0xd9) JMP(0xda) JMP(0xdb)
JMP(0xdc) JMP(0xdd) JMP(0xde) JMP(0xdf) J(L180) J(L181) J(L182) J(L183) J(L184) J(L185) J(L186) J(L187)
JMP(0xe0) JMP(0xe1) JMP(0xe2) JMP(0xe3) J(L188) J(L189) J(L18a) J(L18b) J(L18c) J(L18d) J(L18e) J(L18f)
JMP(0xe4) JMP(0xe5) JMP(0xe6) JMP(0xe7) J(L190) J(L191) J(L192) J(L193) J(L194) J(L195) J(L196) J(L197)
JMP(0xe8) JMP(0xe9) JMP(0xea) JMP(0xeb) J(L198) J(L199) J(L19a) J(L19b) J(L19c) J(L19d) J(L19e) J(L19f)
JMP(0xec) JMP(0xed) JMP(0xee) JMP(0xef) J(L1a0) J(L1a1) J(L1a2) J(L1a3) J(L1a4) J(L1a5) J(L1a6) J(L1a7)
JMP(0xf0) JMP(0xf1) JMP(0xf2) JMP(0xf3) J(L1a8) J(L1a9) J(L1aa) J(L1ab) J(L1ac) J(L1ad) J(L1ae) J(L1af)
JMP(0xf4) JMP(0xf5) JMP(0xf6) JMP(0xf7) J(L1b0) J(L1b1) J(L1b2) J(L1b3) J(L1b4) J(L1b5) J(L1b6) J(L1b7)
JMP(0xf8) JMP(0xf9) JMP(0xfa) JMP(0xfb) J(L1b8) J(L1b9) J(L1ba) J(L1bb) J(L1bc) J(L1bd) J(L1be) J(L1bf)
JMP(0xfc) JMP(0xfd) JMP(0xfe) JMP(0xff)
J(L1c0) J(L1c1) J(L1c2) J(L1c3) J(L1c4) J(L1c5) J(L1c6) J(L1c7)
J(L1c8) J(L1c9) J(L1ca) J(L1cb) J(L1cc) J(L1cd) J(L1ce) J(L1cf)
J(L1d0) J(L1d1) J(L1d2) J(L1d3) J(L1d4) J(L1d5) J(L1d6) J(L1d7)
J(L1d8) J(L1d9) J(L1da) J(L1db) J(L1dc) J(L1dd) J(L1de) J(L1df)
J(L1e0) J(L1e1) J(L1e2) J(L1e3) J(L1e4) J(L1e5) J(L1e6) J(L1e7)
J(L1e8) J(L1e9) J(L1ea) J(L1eb) J(L1ec) J(L1ed) J(L1ee) J(L1ef)
J(L1f0) J(L1f1) J(L1f2) J(L1f3) J(L1f4) J(L1f5) J(L1f6) J(L1f7)
J(L1f8) J(L1f9) J(L1fa) J(L1fb) J(L1fc) J(L1fd) J(L1fe) J(L1ff)
} }
ret: ret:
stress_set_proc_state(args->name, STRESS_STATE_DEINIT); stress_set_proc_state(args->name, STRESS_STATE_DEINIT);
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }
stressor_info_t stress_branch_info = { stressor_info_t stress_branch_info = {
.stressor = stress_branch, .stressor = stress_branch,
.class = CLASS_CPU, .class = CLASS_CPU,
 End of changes. 8 change blocks. 
213 lines changed or deleted 226 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)