optimize.c (95a9457fd44ad97c518858a4e1586a5498f9773c) | optimize.c (14776ab5a12972ea439c7fb2203a4c15a09094b4) |
---|---|
1/* 2 * Optimizations for Tiny Code Generator for QEMU 3 * 4 * Copyright (c) 2010 Samsung Electronics. 5 * Contributed by Kirill Batuzov <batuzovk@ispras.ru> 6 * 7 * Permission is hereby granted, free of charge, to any person obtaining a copy 8 * of this software and associated documentation files (the "Software"), to deal --- 999 unchanged lines hidden (view full) --- 1008 break; 1009 case INDEX_op_ld32u_i64: 1010 mask = 0xffffffffu; 1011 break; 1012 1013 CASE_OP_32_64(qemu_ld): 1014 { 1015 TCGMemOpIdx oi = op->args[nb_oargs + nb_iargs]; | 1/* 2 * Optimizations for Tiny Code Generator for QEMU 3 * 4 * Copyright (c) 2010 Samsung Electronics. 5 * Contributed by Kirill Batuzov <batuzovk@ispras.ru> 6 * 7 * Permission is hereby granted, free of charge, to any person obtaining a copy 8 * of this software and associated documentation files (the "Software"), to deal --- 999 unchanged lines hidden (view full) --- 1008 break; 1009 case INDEX_op_ld32u_i64: 1010 mask = 0xffffffffu; 1011 break; 1012 1013 CASE_OP_32_64(qemu_ld): 1014 { 1015 TCGMemOpIdx oi = op->args[nb_oargs + nb_iargs]; |
1016 TCGMemOp mop = get_memop(oi); | 1016 MemOp mop = get_memop(oi); |
1017 if (!(mop & MO_SIGN)) { 1018 mask = (2ULL << ((8 << (mop & MO_SIZE)) - 1)) - 1; 1019 } 1020 } 1021 break; 1022 1023 default: 1024 break; --- 511 unchanged lines hidden --- | 1017 if (!(mop & MO_SIGN)) { 1018 mask = (2ULL << ((8 << (mop & MO_SIZE)) - 1)) - 1; 1019 } 1020 } 1021 break; 1022 1023 default: 1024 break; --- 511 unchanged lines hidden --- |