powerpc: Fix whitespace
authorDoug Nazar <nazard@nazar.ca>
Tue, 20 Aug 2019 08:38:39 +0000 (04:38 -0400)
committerDoug Nazar <nazard@nazar.ca>
Tue, 20 Aug 2019 08:38:39 +0000 (04:38 -0400)
orc/orcpowerpc.c
orc/orcprogram-altivec.c
orc/orcrules-altivec.c

index 8eeb4e5..52e0948 100644 (file)
@@ -542,20 +542,20 @@ powerpc_load_long_constant (OrcCompiler *p, int reg, orc_uint32 a,
   powerpc_emit_label (p, label_skip);
   if (p->is_64bit) {
     powerpc_emit_ld (p,
-       greg,
-       POWERPC_R3,
-       (int)ORC_STRUCT_OFFSET(OrcExecutor, arrays[ORC_VAR_A2]));
+        greg,
+        POWERPC_R3,
+        (int)ORC_STRUCT_OFFSET(OrcExecutor, arrays[ORC_VAR_A2]));
     powerpc_emit_ld (p,
-       greg, greg,
-       (int)ORC_STRUCT_OFFSET(OrcCode, exec));
+        greg, greg,
+        (int)ORC_STRUCT_OFFSET(OrcCode, exec));
   } else {
     powerpc_emit_lwz (p,
-       greg,
-       POWERPC_R3,
-       (int)ORC_STRUCT_OFFSET(OrcExecutor, arrays[ORC_VAR_A2]));
+        greg,
+        POWERPC_R3,
+        (int)ORC_STRUCT_OFFSET(OrcExecutor, arrays[ORC_VAR_A2]));
     powerpc_emit_lwz (p,
-       greg, greg,
-       (int)ORC_STRUCT_OFFSET(OrcCode, exec));
+        greg, greg,
+        (int)ORC_STRUCT_OFFSET(OrcCode, exec));
   }
 
   powerpc_add_fixup (p, 1, p->codeptr, label_data);
index bc40633..c309634 100644 (file)
@@ -366,7 +366,7 @@ orc_compiler_powerpc_assemble (OrcCompiler *compiler)
           powerpc_emit_add (compiler,
               compiler->vars[k].ptr_register,
               compiler->vars[k].ptr_register,
-             POWERPC_R0);
+              POWERPC_R0);
           if (compiler->is_64bit) {
             powerpc_emit_std (compiler,
                 compiler->vars[k].ptr_register,
index 336794c..b41d8c2 100644 (file)
@@ -781,7 +781,7 @@ powerpc_rule_select1ql (OrcCompiler *p, void *user, OrcInstruction *insn)
   int perm;
 
   perm = powerpc_get_constant_full (p, 0x04050607, 0x0c0d0e0f,
-                 0x14151617, 0x1c1d1e1f);
+      0x14151617, 0x1c1d1e1f);
   powerpc_emit_vperm (p, dest, src1, src1, perm);
 }
 
@@ -793,7 +793,7 @@ powerpc_rule_select0ql (OrcCompiler *p, void *user, OrcInstruction *insn)
   int perm;
 
   perm = powerpc_get_constant_full (p, 0x00010203, 0x08090a0b,
-                 0x10111213, 0x18191a1b);
+      0x10111213, 0x18191a1b);
   powerpc_emit_vperm (p, dest, src1, src1, perm);
 }
 
@@ -1065,10 +1065,10 @@ powerpc_rule_splitql (OrcCompiler *p, void *user, OrcInstruction *insn)
   int perm;
 
   perm = powerpc_get_constant_full (p, 0x04050607, 0x0c0d0e0f,
-                 0x14151617, 0x1c1d1e1f);
+      0x14151617, 0x1c1d1e1f);
   powerpc_emit_vperm (p, dest1, src1, src1, perm);
   perm = powerpc_get_constant_full (p, 0x00010203, 0x08090a0b,
-                 0x10111213, 0x18191a1b);
+      0x10111213, 0x18191a1b);
   powerpc_emit_vperm (p, dest2, src1, src1, perm);
 }
 
@@ -1082,7 +1082,7 @@ powerpc_rule_splitlw (OrcCompiler *p, void *user, OrcInstruction *insn)
 
   powerpc_emit_vpkuwum (p, dest1, src1, src1);
   perm = powerpc_get_constant_full (p, 0x00010405, 0x08090c0d,
-                 0x10111415, 0x18191c1d);
+      0x10111415, 0x18191c1d);
   powerpc_emit_vperm (p, dest2, src1, src1, perm);
 }
 
@@ -1096,7 +1096,7 @@ powerpc_rule_splitwb (OrcCompiler *p, void *user, OrcInstruction *insn)
 
   powerpc_emit_vpkuhum (p, dest1, src1, src1);
   perm = powerpc_get_constant_full (p, 0x00020406, 0x080a0c0e,
-                 0x10121416, 0x181a1c1e);
+      0x10121416, 0x181a1c1e);
   powerpc_emit_vperm (p, dest2, src1, src1, perm);
 }